Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 8655 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

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

Posted

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
Posted

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...

Posted

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="">

This topic is 8655 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.