Okay so I’m trying to do something that I know the fundamentals of. I know how to use Confirmation Query Strings to populate a form with information from a previously submitted form.
My Example is this:
I want to have 2 fields sitting on the homepage for people to fill in; the address they currently reside and the address they intend to move to. Once they click submit I want a popup to appear with the second form already having the information they submitted populating the second form.
[https://www.grace.com.au/gold-coast-removalists/])This website is a good example of what i’m trying to do.
However I don’t actually know how to trigger the pop-up on form submission. I’m using Popup Maker and have the form set to appear on form submission, but it’s not exactly working as Gravity Forms Query Strings require a URL redirect.
Is this a simple fix that i’m overcomplicating? Or should I just shell out money and buy the Gravity Forms Passthrough plugin?
[ad_2]
It’s a little more complicated than you think.
On the form on the homepage, you have your two fields, let’s call them by their IDs #current-address, #new-address.
Using Javascript, you trigger your popup, and the URL of the popup would contain the values of the 2 fields, passing those over via a query string name that matches the field name in your gravity form
var currAddress = document.getElementById(‘current-address’).value)
var popupURL = ‘/popupform?current-address=’ + currAddress
// where ‘current-address’ is the field name in your GF forms.
How you put all that together depends on how your popup function works.