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.
How to use the Save and Continue Later feature and pass the session variable to a form embedded in a website?Asked by DTSS on March 21, 2016 at 10:49 PM
I have read and followed this thread already and done exactly what it says here to the best of my ability: https://www.jotform.com/answers/103105-Security-of-Form-using-the-How-to-Continue-your-form-later-guide-Session-Multiple-Upload-Problem
And this gets me a 404 error message.
Please give me the specific url to forward them to so they land on my site, not on a blank JotForm page to complete their form.
This is possible to achieve by using PHP variables in your website, if the server where you hosted your website runs PHP then you are able to pass variables through URL, I have tested using the session method that works with the Save and Continue Later feature, but unfortunately it does not work when you embed the form in a website, now this workaround may help you.
First, you will need to embed your form using the default method: http://www.jotform.com/help/34-Adding-a-Form-to-a-Web-Page.
I have tested using the iFrame method and it does not work, it only will work using the defualt Javscript code.
Now you will need to capture the value in the URL that goes to the website where is embedded your form, a change that you will need to do is save the page with the extension .php instead of .html, in order to get the PHP code working fine.
The code that you need to embed in your website should look like this:
$email = $_REQUEST["email"];
Notice that I'm passing the value to the form in the URL of the embedded code.
The final URL should look like this: https://firstname.lastname@example.org.
Where the file is .php and the variable that you are getting is $email, then you may take this URL and simply paste it in the thank you page or email autoresponder, replace the sample email and add the variable that comes from the submission.
Hope this helps.