I have a subscribe form on my webpage - I would like to pass information in a hidden field, that should contain two values.
So I changed the the field type to "hidden" (which was normally a radio button), deleted the other occurences of the radio buttons tag, and I tried to put "56768||56770" as the value, but it returns an error.
Does anyone know how to do this?
Thanks a lot,
I can't say for sure as I haven't actually tried to do this but I would guess it's a problem with the radio select. From the looks of it, you are attempting to submit a multiple option custom field?
First, If it's a field where you have a 1 or more selectable items, make sure the field is configured as such:
Next, choose to display these options as checkboxes...
Last step, copy the code for the two checkboxes, and simply make them both checked AND hidden, like so:
<input type="hidden" name="cm-fo-jlvq" id="cm68408" value="68408" checked />
<input type="hidden" name="cm-fo-jlvq" id="cm68409" value="68409" checked />
I just tested this and it looks like it works as expected.
It works perfectly!