[Plugin: Contact Form 7] Dynamically populated select box (jQuery) – getting the values in CF7 mailf
-
Hi all,
Contact Form 7 is great, I use it all the time, flawless.
But now, I ran into a problem with dynamically populating select menus with jQuery:I have set up a select menu in CF7 as usual:
[select menu-123 id:myID class:myClass “first” “second” “last”]Then, I pull a country list from a .js file and use jQuery to find the CF7 select box by its ID and re-populate the values. This all works fine, I get the complete country list in my select box.
Only problem: on submitting the form, the dynamically added values are not submitted. Instead, the placeholder [menu-123], which I used in the mail form, remains blank.
How can I make CF7 understand that it should get the values from the dynamically populated list?
- The topic ‘[Plugin: Contact Form 7] Dynamically populated select box (jQuery) – getting the values in CF7 mailf’ is closed to new replies.