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:
26 days ago
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
More than a year ago
I have developed windows form (VB 2012), i wonder if I could use this plugin to directly upload into Wordpress..
More than a year ago
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.
More than a year ago
ps: the issue I am facing is the lightbox not opening
More than a year ago
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?
More than a year ago
Unable to log into jotform account from Wordpress icon - keeps saying sign in successful, but does not sign me in
More than a year ago
Hello!!! Welcome to the web world!!
More than a year ago
Not working with Wordpress 4.2.2
The jotform icon appears in the editor but it isn't functional
More than a year ago
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.
More than a year ago
any plugin for wordpress.com ??
More than a year ago
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!
More than a year ago
it does not send the message of the form to my email.please help.
I am using word press
More than a year ago
What parameter i should use if i don't want close button in this feedvback.
More than a year ago
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?
More than a year ago
The plugin doesn't seem to work in my wordpress 3.7.1 version. I can see the button, but clicking doe nothing
More than a year ago
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..
More than a year ago
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..
More than a year ago
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
More than a year ago
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.
More than a year ago
That is pretty fantastic! Thank you.
More than a year ago
Merhaba ben bu eklentiyi kurdum, ancak çalışmadı. aşağıdaki linkteki gibi jotfoem id gözüküyor.
More than a year ago
Scratch that - Sorry..
Great plugin!...
More than a year ago
Hi
Just installed plugin.
Can't seem to put two forms on one page.
Is that right?
More than a year ago
Great job on the new WordPress plugin, you guys rock!
More than a year ago
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...