March 13, 200124 yr Newbies I have a cfml webform. When users check a checkbox it updates the file properly. If they return to edit the record and uncheck a checkbox, the update will not take....any other updating takes (text fields, dropdowns, etc). Any ideas? Unlimited 5.02 Thanks
March 13, 200124 yr so it updates the database correctly but will not display on the HTML page?? [FMP-ValueList: checkboxname, list=departments] <input type="checkbox" name="checkboxname" value="[FMP-ValueListItem]" [FMP-valuelistchecked]> [FMP-ValueListItem] [/FMP-ValueList] do you have the part that is bold in your html code.. it will check if the check box is checked in the database and then check it if it is. [This message has been edited by bman (edited March 13, 2001).]
March 13, 200124 yr Author Newbies Thanks for the reply. It will update when the record is created and display properly, but it will neither update the database nor the display when changes are made using edit. IOW, only when a new record is created. hmmm...
March 13, 200124 yr did you check to make sure the check box is named correctly?? i know it sounds stupid, but sometime the tiniest error that we over look can cause the biggest problems.
March 13, 200124 yr Put a hidden field on the form (just after the check boxes) that inserts the value "". The cdml code would be <input type=hidden name=fieldname value="">
Create an account or sign in to comment