CMS MADE SIMPLE FORGE

Frontend Users

 

[#10037] Unchecked checkbox values not saved when editing details

avatar
Created By: Jonathan (jpmad4it)
Date Submitted: Wed Jun 11 04:25:25 -0400 2014

Assigned To: Robert Campbell (calguy1000)
Version: 1.23.4
CMSMS Version: 1.11.10
Severity: Minor
Resolution: Fixed
State: Closed
Summary:
Unchecked checkbox values not saved when editing details
Detailed Description:
I have a field type of checkbox, which is set to be ticked by default. It is set
as an "optional" field for all groups in the FEU module.

I have included the checkbox in the self registration form. The values which are
stored when a new user registers are:

- 1 for checked 
- "false" for unchecked

Once I log in after registration, the correct information is shown in the "edit
details" section i.e. the checkbox is checked or unchecked depending on what was
chosen during the registration process.

If the checkbox is checked on registration, I can uncheck it in the "edit
details" section and the correct value is saved.

The problem occurs when the checkbox is already checked. If I try to uncheck it
and then save the details, it says that the data was saved but it isn't; the
checkbox remains checked when you view the "edit details" page again. It also
reports that the value is still set to 1 if I debug the variable in the foreach
loop in the template.

I am using the default template.

CMSMS version 1.11.10
FEU version 1.23.4
Self registration module version 1.8.2
CGExtensions version 1.38.11
CGSimpleSmarty version 1.7.3


History

Comments
avatar
Date: 2014-06-12 02:01
Posted By: Syreeni (Syreeni)

I've same problem and I should get it work as soon as possible because a
customer is waiting and this feature was working fine in older FrontendUser
version.
I thought this issue was because of my old database and some tailor made
scripts, but it seems not.

I can change checkbox values on backend with admin permissions. 

My question was also on forum
http://forum.cmsmadesimple.org/viewtopic.php?f=7&t=70350
      
avatar
Date: 2014-06-22 09:24
Posted By: Robert Campbell (calguy1000)

fixed in svn.
      
Updates

Updated: 2014-10-04 11:58
state: Open => Closed

Updated: 2014-06-22 09:24
resolution_id: => 7
severity_id: 2 => 3