[Plugin: Contact Form 7] add values from dropdown's to email (non shortcode)
-
I have a form where I need to allow someone to select a country and then dynamically change the next field with the states/provinces for that country. I am able to get that to work properly within the contact form, but I am unable to get those values to send via email. I have tried using hidden fields (using the plugin) etc. The only way I can seem to find to add those dynamic dropdowns “easily” is by using jscrpit.
So, my question is how do I get values from a traditional dropdown (select) into the email or is there a better way to do this dynamic dropdown.
the code looks something like this:
Country:<select onchange=”print_state(‘state’,this.selectedIndex);” id=”country” name=”country”></select>
State/Province/District:<select name =”state” id =”state”></select>
<script language=”javascript”>print_country(“country”);</script>
`Thanks
- The topic ‘[Plugin: Contact Form 7] add values from dropdown's to email (non shortcode)’ is closed to new replies.