- guest_23315855275053Asked on November 27, 2012 at 04:05 PM
I want to get data from a previous page, say page A to a jotform that's in an iFrame on page B.
Is it possible to use URL parameters to prepoluta this form?
For example with this URL: http://www.jotform.com/form/1234?name=ThisIsMyName
Thanks for your help!
- fxrAnswered on November 27, 2012 at 04:48 PM
You would need to enable sending of POST variables on your first form.
On the second page, you would then read these POST variables with php, and generate your iframe code with those variables.
You code would look something like this:
$name = $_POST['name'];
<iframe src="//www.jotform.com/form/1234?name=<? echo $name; ?>" height="300px" width="100%"></iframe>
You may well need a little more help than but can you make a start and we will do what we can to help out.
- luisgar2001Answered on April 11, 2013 at 07:56 AM
- JotForm SupportjonathanAnswered on April 11, 2013 at 09:26 AM