We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum
Using blocks in forms
I'd need to give the editor the ability to add or remove checkboxes to a form. To put this in place, I thought about using the blocks feature. The code below produces a good HTML, but the values will not be passed when sending the form.
<perch:blocks> <perch:block type="input" label="Choice" icon="edit"> <perch:content id="option" type="text" label="Option" required /> <perch:input type="checkbox" id="pick<perch:content type="hidden" id="perch_item_index" />" value="<perch:content id="option" type="text" />" /> </perch:block> </perch:blocks>
Do you know of another way to brew that feature or to get this to work?
Thanks for any help!
Want to reply to this thread?Login with Perch