Newbies leclair Posted March 13, 2001 Newbies Posted March 13, 2001 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
elvis_impersonating_penguin Posted March 13, 2001 Posted March 13, 2001 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).]
Newbies leclair Posted March 13, 2001 Author Newbies Posted March 13, 2001 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...
elvis_impersonating_penguin Posted March 13, 2001 Posted March 13, 2001 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.
Vaughan Posted March 13, 2001 Posted March 13, 2001 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="">
Recommended Posts
This topic is 8926 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now