Forum for discussing general topics related to Couch.
2 posts Page 1 of 1
I had to do some special form pre-send processing. Consequently, I've used HTML input tags for checkboxes that have data attributes attached. Is there any chance of using these regular HTML checkboxes with a cms:form? I got no result at all when I just tried it. I was curios if KK, or anyone else with more experience, could tell me if there was a way to do this. I know I can always just process the form with my own php code. I was just trying to avoid real work, when Couch makes so many things so easy. Thanks again KK! :D
Hi atenhotep,

You can use @cheesypoof's solution for HTML5 inputs -
viewtopic.php?p=13095#p13095

Basically, continue using your own markup for the checkboxes but also define the same checkboxes using Couch cms:input tags - only this time enclose the couch inputs using cms:hide so that they remain hidden on the frontend but get processed on the server. Make sure the 'name' attributes are identical for both versions.

Hope it helps.
2 posts Page 1 of 1