Brackets within CF7 tags
-
Dear Support,
Thank you very much for a very good plugin!
How can the following HTML be written with CF7-tags?:
<input name="mc4wp-INTERESTS[58fa86ca5b][]" type="checkbox" value="35295e99fd"> <span>Photography</span>
It should look something like:
[checkbox mc4wp-INTERESTS[58fa86ca5b] "Photography|35295e99fd"]
But it appears as the brackets, i.e.
[58fa86ca5b]
, can not be used within the CF7-tags.The reason I am asking, is that I have a CF7 contact form which I have also connected to MailChimp using the plugin MailChimp for WordPress (mc4wp). The user fills in contact details and there are also several checkboxes where the user can choose various list groups to get subscribed to, such as Photography above. When submitting the CF7-form, this information is also sent to MailChimp including the list groups selected.
Everything works fine, including the checkboxes with list groups, as long as I implement the checkboxes using the HTML above.
However, I would prefer to use the CF7 tag-format, so that the checkboxes appear as mail-tags and can be included in the contact form sent as an email.
So, is it possible, in some way, to include brackets within a CF-tag?
I have searched the Internet for a solution, but I only find people who are having the same problem, but no solution.
Looking forward to your solution! ??
Sincerely,
Jan Martin
- The topic ‘Brackets within CF7 tags’ is closed to new replies.