Newbies Steve Lonn Posted September 3, 2004 Newbies Posted September 3, 2004 I'm having an issue with checkboxes. I have a page that users will be returning to again and again and they will make selections using checkboxes. However, they may decide to turn off the checkboxes in the future and my code right now prohibits that from happening. I'm using FMP-IF statements to see if the checkbox is checked using the database liek the example below: <input name="field" type="checkbox" [FMP-If: field.eq.on] checked [/FMP-If] value="on"> Since a checkbox inherently has no value when it is unchecked, Filemaker doesn't recognize that the user wants to UNCHECK the field upon saving the form. Can anyone help with a solution?? Thanks!
Steve T. Posted September 3, 2004 Posted September 3, 2004 Hi, Steve! Yes, check boxes are a bit more complex than people realize and harder than radio buttons. On an edit page, I think you have to force a submission with a hidden input... something like <input name="field" type="hidden" value=" "> right before the checkbox. I think this sends the hidden if a checked box is unchecked. There are some great posts about this in the forums, too. Check especially posts involving Jeff Spall. Try looking for "checkboxes", "check boxes", or other variants in the Internet/Online forums if you don't find what you need right away. --ST
Recommended Posts
This topic is 7378 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