How to pass or auto-populate data from one Contact Form 7 to another form

We have recently worked for one of our client where it is required to pass data submitted to a contact form 7 to another contact form 7. Which was little tricky and we want to share with you this exclusive tutorial, i.e how we auto-populate data from one Contact Form 7 to another form.

Check the following form, we want to pass State and Email Address field data to next form.


This is the next form:


So how we did that? Lets find out the solution. First of all don’t forget to use id attribute in your form:


Then go to Additional settings tab and write the following line. Please replace the URL with your page URL:

on_sent_ok: “location.replace(‘’+jQuery(‘#job-state’).val()+’&your-email=’+jQuery(‘#your-email’).val());”


Then in next form write the field as follows:


We hope you enjoyed the tutorial and if you need any help please comment below.

Posted on March 28, 2016, in Uncategorized and tagged , . Bookmark the permalink. Leave a comment.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: