form block required checkboxes not submitting

Permalink
I have a form with a required question that was radio buttons that I switched to checkboxes.

Suddenly the form started failing validation, and when the page reloads with the error message, neither of the two checkboxes for that question are checked even if they were both checked before.

I deleted the question and recreated it as checkboxes, but the same behavior ensued.

Any ideas?

The form is athttp://saphireeventgroup.com/contact/... (feel free to submit the form using innocuous test data).

Thanks for your help!

kirkroberts
 
kirkroberts replied on at Permalink Reply
kirkroberts
Found the problem... and the problem was me (again). Thanks to anyone who took a moment to check it out!
invision replied on at Permalink Reply
invision
I'm having some problems with checkboxes... what did you do to resolve this? What was the cause of the problem?
kirkroberts replied on at Permalink Reply
kirkroberts
I had made a change in the controller so the option labels would be clickable to select the radio button or checkbox. I copied/pasted the same code for radio buttons and checkboxes, when in reality they needed to be slightly different. Once I made the correction it workd as expected.

The extended form block takes care of this for you.
Invision, I know you know about this already, but in case someone else doesn't, here's the url for the add-on:
http://www.concrete5.org/marketplace/addons/extended-form/...
invision replied on at Permalink Reply
invision
Thanks for the update.