- centralmarketsAsked on July 03, 2011 at 07:09 AM
Hello - guys sorry to ask, but I've gone through the forums with regards to prepopulating fields.
Using URL parameters is new to me, so this maybe where I am going wrong.
Essentially I have 2 forms. The user cannot access the second form until they have completed the first form.
The first form, once completed, sends a notification to my client. When the second form is completed it goes to another separate company (thats why I haven't combined the 2 forms).
Both forms are embedded using iframes. The first form can be found on my test server here:
When the users fills in the forms my client gets a notification.
The thank you page directs the user to the second form which can be found on this page:
I would like the following fields from the first form (firstAnd[first], firstAnd[last], email, primaryNumber, secondaryNumber) to pre-populate the fields in the second form.
Before submitting this question I have read all the forums and with limited success used the URL parameters (but only when the URL was jotform ie. http://www.jotform.com/?formID=11831106775)
The original forms can be found here:
Form 1: http://www.jotform.com/?formID=11831106775
Form 2: http://www.jotform.com/?formID=11571401744
Thanks for all your help in advance.
- JotForm SupportNeilVicenteAnswered on July 03, 2011 at 10:03 AM
Before anything, I'd like to inform you that the url for your forms are not http://www.jotform.com/?formID=11831106775 and http://www.jotform.com/?formID=11571401744
but instead http://www.jotform.com/form/11831106775 and http://www.jotform.com/form/11571401744, respectively.
Anyway, I think what you're trying to accomplish is more than form field prepopulation. Prepopulating fields, as described in this user guide, means the form owner sets a default value for a field. This can be useful when embedding a form in different websites, and you want form fields to have different values according to the website it is embedded in.
What you want to do is to pass submitted field values from one form to another. Unfortunately, it would require more than just url parameters to make it work. Some custom PHP scripting will be needed and of coure, a web host that runs PHP.
Please read on to this thread to learn more how to implement this solution in your forms.