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.
Is it possible to make embedded forms prepopulate when using Harmony CMS?Asked by brianbuttonxp on June 27, 2013 at 10:14 PM
I'm trying to make form fields prepopulate based on a link that I give to someone for the following URL: http://www.mindsparkpartners.org/refer-friends/referral-form/ . Is this possible? I know how to construct the query portion of a URL, but the trailing slash on the URL seems to be causing a problem. When I add a ?q7_myEmail=foo and refresh the page, nothing happens.
The site is hosted on harmonyapp and built through their custom development tools, so I never actually create an HTML page. I create templates and fill out a form, and the page is generated for me.
make form problem create site
You might probably are looking for something like this
Please let us know if you need further assistance on regards to this matter.
If you have an unrelated question, please open a new thread and we will be happy to assist you
My form is embedded on another page, as I said above, so the exact form of what you showed me doesn't seem to match my situation. And I know how to create query strings on URLs, and I've already tried that. For this site, though, it doesn't seem to work. Since it is a CMS-based site, and not somewhere where I've created my own HTML pages, I was wondering if there was another way to get the URL query string parameters into fields on the page.
Please let us know from which page URL should the data will came from so we can check and let you know if that's possible or not.
I think all of the relevant information was in my first message:
Website URL: http://www.mindsparkpartners.org/refer-friends/referral-form/
Query Parameter: ?q7_myEmail=foo
jotform URL: http://form.jotform.us/jsform/31596875893879
If I take the website URL and append the query parameters to it, no data appears in the embedded jotform. If I take the trailing / off the mindsparkpartners.org URL and put the query parameters directly after the page name, and then go to that URL, the web server puts the slash back in and then processes the request.
It should be:
Please review this guide: Prepopulating Form Fields via URL Parameters
I understand how to use URL query parameters to prefill form fields. What I don't know, and what I'm asking, is if I can do it for a jotform embedded on the above URL.
Putting the URL query params on the script line itself, as you illustrate above, isn't practical, as the values will change every time the page is accessed.
So, can I use the query parameters on the URL to my page (mindsparkpartners.org) and have them passed to my script? I read the articles about how to make embedded scripts work, it is not working, hence my question.
can I use the query parameters on the URL to my page
Yes, as my colleague welvin said, you can use query parameters on your page URL itself like
It is working fine, click on the above link to clarify.
Please let us know if this not your problem.