What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Prepopulation is not working on a form with Auto Fill enabledAsked by cmsacomms on February 12, 2016 at 12:41 AM
Hi I am having troubles linking two forms. I have been using the guide http://www.jotform.com/help/97-How-to-Save-Forms-and-Continue-Later to save forms to continue later and also trying to prepopulate the data entered in the original form to autofill into the second main form. The problem I'm having is that when I go from the original form to the main form it is not autofilling with the data in the original form, instead the data is simply populating with other data in another form I filled in earlier.
https://form.jotform.com/cmsacomms/jobform (ORIGINAL FORM) needs to link to the data in
What am I doing wrong?
prepopulation JotForm problem another form Main Form Auto Fill
I have checked your prepopulation parameters on the first form, and they are implemented well and working great.
The problem on the main form comes from the fact that it also has Auto Fill enabled - so the Auto Fill is placing the earlier values your browser has stored in its cookies. As both the Auto Fill feature and prepopulation are trying to insert their own values, they are in conflict with each other on which value is going to be placed.
In order for the prepopulation to work correctly, please disable Auto Fill on your main form. You can do that by going to Preferences > Advanced Settings > Edit Auto Fill settings, and then setting Auto Fill to Disabled, as shown in the image below:
Please let us know if this fixes the issue you are experiencing.
It looks like your post didn't make it through to our forum software, so I'll quote it here for relevance:
Ok, I've done this and it works - I realised also that when I was testing I hadn't completed submitting previous sessions with the same email address from the main form, and hence it kept reverting to the original data.
But now I have another problem. It seems the URL link generated will break if some of the details have spaces in the first form. For example if you select in the first form in the branch dropdown list 'NSW & ACT', or if you add two words in the first name field like 'Peter John' the link will not automatically add '%20' for the spaces in the URL - so the link breaks. How can I ensure that the link will render correctly?
Please don't worry, this should be an easy thing to fix. Please try using the URLENCODE attribute inside the URL parameters, as described in the following guide:
In a practical example, if this is the link you are using:
You would add the part marked in bold red, and the value with spaces will no longer be an issue:
Please let us know how it goes.