- markashtonAsked on January 25, 2011 at 08:41 AM
I cannot get values to pass through a url that reside in an Iframe.
This iframe of the same form does not:
Can anyone help on this I'd be most grateful
- JotForm FounderaytekinAnswered on January 25, 2011 at 10:52 AM
1. Change the page from ".htm" to ".php"
http://www.workflows.co.uk/temp/prepop.php?firstName=Dave2. Add the variables to the form URL on the page like this:?http://www.workflows.co.uk/temp/prepop.php?firstName=<?=$_GET['firstName']?>&lastName=<?=$_GET['lastName']?>&
- markashtonAnswered on February 07, 2011 at 06:19 AM
Couple of problems:
1) Cannot get this to work with my iframes. Is the syntax correct? Why the question mark at beginning? Is there an example I could see to reverse engineer.
2) I have a lot of .htm files out in the world and am a little reluctant to have to change them all for clients et al. I use another provider (sometimes) whereby this functionality does work with .htm files.
So my question is: Is it possible with jotform to pass values through a url to .htm files?
Many thanks, Regards Mark
- JotForm FounderaytekinAnswered on February 07, 2011 at 09:38 AM
1) That's how you send variables from URL. This is the form:
2) Unfortunately, you cannot use PHP code on .htm files. So, this is not possible on those files.
- DomenicAnswered on November 21, 2011 at 06:35 PM
I am doing somehting similar and would like to know if it is possible to:
Hit a page with parameters in the URL I.E., ?name=whatever&company=whocares
and have an iframed form from a different site get populated with the date THEN auto submit?
There is no user interaction on this form, it is just a backend sysytem that hits a post back page after a phone call happns and passes that data to the page. The issue is the form is on a third party system and I have no control of the code, just the form creation.
- fxrAnswered on November 21, 2011 at 07:25 PM
I really dont think this functionality is possible, but if you want to pursue it, please open a new thread and detail exactly what you are trying to achieve and we can certainly have a think about what your options are.
- markashtonAnswered on November 22, 2011 at 05:04 AM
It is possible - but not through Jotform. However, there is a solution through jotform. Instead of using an Iframe ... use the embed function with script. You will then be able to reproduce exactly the same scenario.
Look here: link removed
Iframe ... check the source and you will see that I have just embedded the script.
Voilla ;) (Send me the cash in a brown bag ;)
- novacoastAnswered on February 22, 2013 at 05:22 PM
Are these ideas still valid? they are a few years old and the most recent post doesn't seem to work anymore.
- JotForm SupportjonathanAnswered on February 22, 2013 at 05:49 PM
Hi, can you please clarify which one does not work?
The pre-populate fields still works. You may want to review this guide: Prepopulating-the-fields-to-your-JotForm-via-URL-parameters
It would be better also if you could create your topic (use this), so we can easily focus on your inquiry.
- lstreakAnswered on April 01, 2013 at 04:00 AM
Hi, can someone help me out this?
I'm iframing this site in my own parent page, how can i have the fields in the iframe pre-populated?
- JotForm SupportEltonCrisAnswered on April 01, 2013 at 05:34 AM
It's explained on this guide: Prepopulating the fields to your JotForm via URL parameters
So if you are using iframe embed code, you can append the URL parameters on the JotForm URL. Example:
<iframe allowtransparency="true" src="//form.jotformpro.com/form/30771202081947?fullName3[first]=John&fullName3[last]=Doe" frameborder="0" style="width:100%; height:562px; border:none;" scrolling="no"></iframe>
Let us know if you have further questions. Thanks!