Ok so let say someone entered information on the 1st page an they click submit (all the information added goes to a database). Then on the second page they see the same information they had typed on the 1st page on the second page. Well they see they made an error and decide to correct it an click update an it tells you, your form has been updated (the changes are made to the database). Anyway all the fields works right except for the checkbox. When i submit the checkbox on the first page i have no problems, it submits correctly. However, when i try to make changes to the checkbox on the second page and click update i have problems. Basically the checkbox will not go back an forth between true an false. Either it remains true, or it remains false.Any suggestions?
Here is whats on my first page
<input type="checkbox" name="htpp" value="1"/>
here is whats on my second page
<cfparam name="Form.htpp" default="0">
<input type="checkbox" name="htpp" id="htpp" value="1"
<cfif #form.htpp# eq "1">checked=yes</cfif>/>
an here is whats on the part of my form that updates the information
<cfparam name="Form.htpp" default="0">
Thanks to all who help,
Rach
Tags: