post array from group of checkboxes
-
hi there!
I am building a page that is supposed to send the values of multiple checkboxes to the next page, and into CF7.
The correct syntax to get the values of a group of checkboxes is
<input type="checkbox" name="trip_addon[]" value="trip_addon_name"> label
but of course, when doing this in the CF7 form:
[dynamictext Bouwstenen uneditable "CF7_POST key='trip_addon[]'"]
the form breaks, due to the added square brackets.
How can I solve this issue, and get all data from the array generated by the checkboxes into a field? When I remove [] the result is (of course)Array
so we must go deeper, but how? Thanks in advance for any help!
https://www.ads-software.com/plugins/contact-form-7-dynamic-text-extension/
- The topic ‘post array from group of checkboxes’ is closed to new replies.