- brianbuttonxpAsked 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.
- jeanettebmzAnswered on June 28, 2013 at 12:54 AM
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
- brianbuttonxpAnswered on June 28, 2013 at 06:03 AM
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.
- JotForm SupportWelvinAnswered on June 28, 2013 at 07:33 AM
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.
- brianbuttonxpAnswered on June 28, 2013 at 08:13 AM
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.
- JotForm SupportWelvinAnswered on June 28, 2013 at 08:41 AM
It should be:
Please review this guide: Prepopulating Form Fields via URL Parameters
- brianbuttonxpAnswered on June 28, 2013 at 09:20 PM
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.
- dinesh-itAnswered on June 29, 2013 at 01:51 AM
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.
- grushabhAnswered on January 04, 2017 at 01:31 PM
I am trying to do the same thing but it does not appear to work.
For example https://email@example.com works.
But this form is embedded on https://www.louiesclub.com/create-request.html
And https://firstname.lastname@example.org does not work.
Is there another workaround for this?
- JotForm SupportWelvinAnswered on January 04, 2017 at 02:37 PM
@grushabh: I have created a new thread for your problem. Please access it here: https://www.jotform.com/answers/1025556.