See also: Prefill
You can prepopulate your form fields by including the query strings in the URL. The query component is indicated by the first question mark (“?”) followed by the query parameters in the URL. Multiple query parameters are separated by the ampersand (“&”). The parameters are in key-value pairs where “key” is the field’s unique name and “value” is the field’s prefill value.
For example, here’s a form with fields prepopulated via query parameters:
https://www.jotform.com/220631153630039?name[first]=Jane&name[last]=Doe&email=jane.doe@jotform.com&interests=News,Health,Sports
This also works on embedded forms:
https://jotformer.blogspot.com/2022/10/signup-form.html?name[first]=Jane&name[last]=Doe&email=jane.doe@jotform.com&interests=News,Health,Sports
Generating Form URL With Query Parameters
To identify the accepted query strings or parameters on your form
- Go to Field Prepopulator.
- Select Populate Fields at the bottom and authorize the app.
- In the Form Picker dialog, choose your form, then select Continue.
- On the next page, provide the prefill values for your form fields.
- Select Generate URL at the top and copy the provided URL.
Share the generated URL with your users or use the URL structure as a template for prepopulating your form via query parameters from other sources. For hidden fields, you can manually add them as parameters in the URL by identifying their unique names. See Field IDs and Unique Names to learn more.
See also: How to Automatically Pass Form Data to Another Form.
Send Comment:
191 Comments:
1 days ago
Can you prepopulate name based off when the user logs in?
112 days ago
Keeping in mind that my developer skills are amateur and self taught, I have successfully created for my own purposes a URL generator for my forms. However I'm concerned about security, as some of that data is, for example, contact information. What is the best way to address this? I assume there's probably a relatively simple JSON, etc., API that would map relatively easily to this?
140 days ago
Hi,
Is this possible when we only want to prepopulate fields to an edited submission?
Thank you.
151 days ago
HI,
so this works for us but only the email gets taken. Can you help me why that is?
Best regards!
154 days ago
hello if i wanted to prepopulate a set of numbers that is unique for each form how to i go about that. Say I want each form to assign a number to the person filling out the form and i wanted the numbers to be from 001 to 1000. So when a person fills out the form i want the form to give them a unique number from this set of numbers.
266 days ago
I have a form with a simple Short Text field. I would like to take the value of that field and prepopulate a URL string to use in an IFrame Embed that is nested in the same form. The field that I pass into the URL will prepopulate a form in the iFrame.
Is this idea possible?
This link is an example:
where QText has the value that I want to pass to the URL in the "iFrameBlock"
If it's not possible is there any way to accomplish something similar?
274 days ago
Hi Jerlan.
could you watch my record below?
Please let me know if I made myself understood
315 days ago
Hi!
How can we prefill the field if the option inside the Dropdown menú is "Chichen Itzá & 2 cenotes"
324 days ago
How can i prepopulate Dropdowns?
More than a year ago
how to make one of fields unique in its data ?
More than a year ago
How do you use the field populator if you have an enterprise account? And how do fill individual address fields?
More than a year ago
I have an issue with dynamic values from URL they're working on some forms but not on others can you please advise
More than a year ago
The field populator tool is not working, it stops after i select my form.
More than a year ago
Hello,
I want to know if I can autofiil the URL for my web page with this tool
More than a year ago
What's the right syntax?
I've used all of these, none of them work.
&employe[first_87]={employe[first_27]}&employe[last_87]={employe[last_27]}
&employe[first_87]=employe[first_27]
&employe[last_87]={employe[last_27]}
&first_87={first_27}&last_87={last_27}
More than a year ago
How can i prepopulate with the user emali? can i access the current user email logged into jotform to do this?
I suppose this is not effective on mobile apps.
More than a year ago
Hi team,
I trust you're doing well,
I was hoping you could help us ?..or send us some documentation on how to Atuo Populate flieds,
we're running an Wound Care clinic, ..and found a nice Wound Care Assessment form here on Jotform's,
we would like to select an patient's name, ..(top of the form), and ALL the patient's info, ..like surname/ address/ contact details/ medical history ect....needs to auto populate, ...then we can carry on with the patient's assessment...
this will save allot of time, when doing patient assessments
thanks in advance for the feedback,
Best Regards
Brandon,
More than a year ago
Is there any way to pass the URL slug of a website as a URL parameter? For example, I have a lead capture form on every blog post on my website, and I'd like to track which pages they're coming from specifically. So I'd like to pass everything after my website's domain into this parameter so when they're saved into my CRM I can organize by what pages of my site are getting the best lead conversions.
More than a year ago
Does anyone know how the responses are ranked?
I have done one of those and it shows a list of all the responses multiple times, in reality I just want to know which response was dragged to the top etc
More than a year ago
Users who leave their form and then return to work on it -- can they use this generated URL to edit their form without losing past progress?
More than a year ago
I use ActiveCampaign to send emails and would love to be able to pre-populate JotForms with data from ActiveCampaign, so that our users don't have to do the heavy-lifting of form filling. But is that possible with this new feature or would this require a future integration?
More than a year ago
I’m prepopulatimg user information with custom url. Works great.
What I’m trying to do is add a couple invisible ID in background so when they finish form, the returning websocket will include those ID and so I can match response to a specific row ID in my database .
I’ve done this by having a page at the end with these variables I need returned and hiding that page. This is super clunky and prone to errors/typos…. Is there a better way? If I upload say 10 variables in URL, it would be so helpful to get ALL the original url parameters back regardless if they have been used.
Hope that is clear.
More than a year ago
this can be done with embeded forms as well.
If your form is embeded and your URL is:
then to auto popluate the field, do the following
/?uniqueFieldId=myPrepopulatedInfo
for me it was
/?em=myemail@email.com
More than a year ago
I would like to be able to use my form to add in all the information into my PDF then have the customer sign it, is this option available?
More than a year ago
Is it possible to use the URL prepopulating from a Form to a Sign document?