Prepopulating fields can save users time by automatically filling in information that you already know about them. This can make the form-filling process more efficient and user-friendly. Like all embedded Jotform forms, you can prepopulate a Lightbox or Feedback form’s fields by adding the query parameters to the parent window URL.
For example
https://jotformer.blogspot.com/2022/11/feedback-signup-form.html?name[first]=Jane&name[last]=Doe&email=jane.doe@jotform.com&interests=News,Health,Sports
You can also prepopulate the fields by inserting iframeParameters inside the embed code’s JotformFeedback. In this demo form, the iframeParameters section in the Lightbox embed code below prepopulates the Name, Email, and Interests fields:
<script src ="https://form.jotform.com/static/feedback2.js" type="text/javascript"></script>
<script type="text/javascript">
var JFL_223072173120441 = new JotformFeedback({
iframeParameters: {
name: {
first:'Jane',
last:'Doe'
},
email:'jane.doe@example.com',
interests:'News,Health,Sports'
},
formId: '223072173120441',
base: 'https://form.jotform.com/',
windowTitle: 'Signup Form',
background: '#FFA500',
fontColor: '#FFFFFF',
type: '0',
height: 500,
width: 700,
openOnLoad: true
});
</script>The parameters are in key-value pairs where “key” is the field’s unique name and “value” is what to prepopulate the field with.
See also: Prepopulating Fields to Your Jotform via URL Parameters
Send Comment:
31 Comments:
September 9, 2024
Hello,
This will open automatically after page load as "openOnLoad: true". But can we make a delay like 30 sec after page load for auto POP UP this form?
TIA
May 23, 2017
I have developed windows form (VB 2012), i wonder if I could use this plugin to directly upload into Wordpress..
April 14, 2017
I use a lightbox and fill in the data with iframeParameters. But this does not work well for me with "Continue forms latter - Enaeble". My data is being overwritten. How to make my data priority.
October 30, 2016
ps: the issue I am facing is the lightbox not opening
October 30, 2016
I tried to combine the lightbox with adding a parameter. But could not tell why I remain unable to get the combination going. Both solutions work well if run separately. Could I ask you for your support?
March 8, 2016
Unable to log into jotform account from Wordpress icon - keeps saying sign in successful, but does not sign me in
February 8, 2016
Hello!!! Welcome to the web world!!
June 26, 2015
Not working with Wordpress 4.2.2
The jotform icon appears in the editor but it isn't functional
June 10, 2015
Are you guys aware this plugin doesn't work with the latest version of wordpress?
I've tried embedding a form from Safari, Firefox and Chrome and the selection windows never disappears and no shortcode (or anything otherwise) is embedded into the wordpress content editor.
September 26, 2014
any plugin for wordpress.com ??
June 27, 2014
Hi: I do not get the list of forms as it is shown in the screen shot. I can either embed the script or try to use a short code. Neither of which work. I'm working with Wp v3.9.1 and v1 of your plugin. Thanks for any help!
April 25, 2014
it does not send the message of the form to my email.please help.
I am using word press
March 17, 2014
What parameter i should use if i don't want close button in this feedvback.
February 22, 2014
if i wanted to say add this blog to my website i have it added now where it sends the form information i wanted it to be posted on the same website how would i do this?
November 1, 2013
The plugin doesn't seem to work in my wordpress 3.7.1 version. I can see the button, but clicking doe nothing
October 1, 2013
OK scratch that, as I have tried it in Chrome and not Firefox where a window did pop up for sign in to my Jotform account. I couldn't see anywhere in your instructions that I would get this.
Thanks
Jim..
October 1, 2013
Hi
Am I missing something? I have installed the plug in, and yes see the button in the page editor. Clicking on it does nothing. I can't see how it would know what my Jotform account is to bring me back a list of forms to use, so where do I set that up?.
Help!
Thanks
Jim..
August 19, 2013
Error: Warning: preg_match(): Compilation failed: unrecognized character after (?< at offset 18 in /misc/2/000/232/468/1/user/web/4star.zcsassociates.com/wp-content/plugins/embed-form/jotform-wp-embed.php on line 42
August 16, 2013
Oops, guess it was released a little too soon. the plugin is broken. Installed, pencil icon appears. Clicking it does nothing. Not the only one having this issue.
June 16, 2013
That is pretty fantastic! Thank you.
June 12, 2013
Merhaba ben bu eklentiyi kurdum, ancak çalışmadı. aşağıdaki linkteki gibi jotfoem id gözüküyor.
June 7, 2013
Scratch that - Sorry..
Great plugin!...
June 7, 2013
Hi
Just installed plugin.
Can't seem to put two forms on one page.
Is that right?
June 7, 2013
Great job on the new WordPress plugin, you guys rock!
February 6, 2013
By using the above and with a little php I populated a hidden field on my form with the page URL. This way I know for which article I receive the feedback...