- smilenjAsked on December 05, 2017 at 12:49 AM
Hoping you can help me.
I have this form: https://form.jotform.com/73375442384158
And there is "who is this for?" field where the user selects who this submission is for. Right now there is just one person in the list.
Is there a way to pass that variable in the link i send the user and have it populate a field in the form? Something like:
That way I can remove the "who is this for?" field. Only caveat is that I need the name (Daniel Ho in this case) included in the submitted data so I can use it later.
- JotForm SupportJanAnswered on December 05, 2017 at 03:48 AM
You can actually set a default value in the dropdown field. You can do this in the Properties > Advanced tab. Here's a screenshot:
You may also do this via the URL parameters. You just need to get the Unique Field Name of the Dropdown field and assign a value to it. Here's an example:
Form URL = direct link of the form
Who_for = Unique field name of the dropdown
Daniel%20Ho = Prepopulated value
%20 = this is a blank space
We do have an app called Field Prepopulator that you can use. Here's the link: http://prepopulate.jotform.io/. You may also do it manually via the URL, here's a guide: https://www.jotform.com/help/71-Prepopulating-Fields-to-Your-JotForm-via-URL-Parameters.
Hope that helps. If you have any questions, let us know. Thank you.
- smilenjAnswered on December 05, 2017 at 08:04 AM
This is awesome - thanks. One follow up question - how can I use this when I embed the form in a WordPress page?
This is the form with a variable: https://form.jotform.com/73380498984171?Isfor=Mary%20Jones
This is the page I'm trying to embed it on: http://www.youare.video/upload/
http://www.youare.video/upload/?Isfor=Mary%20Jones doesn't work
- smilenjAnswered on December 05, 2017 at 10:02 AM
I must have done something and now its working.
- JotForm SupportBDAVIDAnswered on December 05, 2017 at 10:56 AM
On behalf of my colleague, you are welcome! Open a new thread if you need anything else, we will be glad to assist you.