Quantcast
Channel: WordPress.org Forums » [Contact Form 7] Support
Viewing all articles
Browse latest Browse all 49500

sagatr on "[Plugin: Contact Form 7] Pass the values from a custom form to Contact form 7"

$
0
0

I have a custom form with a postcode/zipcode field. If i press a button get address it finds the address using using this postcode.

I want to pass the values of this address into corresponding field in contact form 7. My current custom form runs above the contact form 7.

This is how i display the value :

<label>Street: </label><input type="text" name="street1" value="<?php echo $street1; ?>"/></br>
<label>Town: </label><input type="text" name="town1" value="<?php echo $town1; ?>"/></br>
<label>County: </label><input type="text" name="county1" value="<?php echo $county1; ?>"/></br>
<label>Postcode: </label><input type="text" name="postcode1" value="<?php echo $postcode1; ?>"/></br>

I am using jquery to get the address.

I need to pass these value to contact form 7 address fields.

Any help would be appreciated.

http://wordpress.org/extend/plugins/contact-form-7/


Viewing all articles
Browse latest Browse all 49500

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>