- dittaevaAsked on December 09, 2011 at 03:05 PM
Oups, my above "solution" isn't solving much since it does not save to the original submission when turning pages, so you still need the session id-link. I guess the thank you e-mail could provide both, though....
You really should do something about this....
This is a re-post of a comment on How to Save Forms and Continue Later
- JotForm SupportMike_TAnswered on December 09, 2011 at 05:39 PM
I would like to inform you that Edit link feature is a little bit different, it is possible to edit completed submission using this feature. And The Save Forms to Continue Later option is supposed to work for not completed submissions.
If you are still interested in some option, could you please explain your goal more detailed? Then, we will try to find some solution.
Thank you for your patience and cooperation with us.
- dittaevaAnswered on December 10, 2011 at 07:12 PM
My goal is the same as in the article (How to Save Forms to Continue Later), only I want the user's name and e-mail in the response of the main form, but without them having to type it in over again.
I have almost solved it by doing the following:
1. The first form only asks for the reponders e-mail address.
2. In the mail from the first form, the URL doesn't only contain the session ID, it also contains the value of the e-mail field in the main form. E.g: http://firstname.lastname@example.orgemail@example.com
3. The e-mail field in the main form is hidden.
I say I have almost solved it for two reasons:
1. Ideally I would only need one form.
2. I'd like to have the e-mail field in the main form visible in case people by accident goes straight into the main form. However, pre-filling visible fields does not work in combination with the session ID.
I've tried solving issue 2 by showing a second (visible) e-mail field on the next page if (condition) the hidden e-mail field is empty. After many tries, it seems that conditions do not work with hidden fields, so I have been unsuccessful.
Solving number 2 shouldn't be too hard for your coders I think, because I can see in my browser how the field is first pre-filled, and then wiped clean because by the (empty) session data.
- JotForm SupportliyamAnswered on December 11, 2011 at 11:31 AM
There is no easy solution to what you're looking for as of yet and our developers are pretty busy trying to make improvements with JotForm everyday.
So what I have in mind is having your page with pre-populated field.
For example you have embedded your form in http://www.mypage.com/form.php, you will then have a link from the main page with a prepopulated value, ideally with a timestamp, and the value of that time stamp should also be captured on a hidden field.
Let's say you have PHP enabled on your server, so on your main page you can make a php script like this:
<?php $timestamp= time(); ?>
And on your pages with the URL, you have this link:
<a target="_blank" href="http://www.mypage.com/form.php?session=<?php $timestamp; ?>&your_hidden_field_name=<?php $timestamp; ?>">My Form</a>
This way when the person visits your form, the session is already started.
You will also notice that I added a your_hidden_field_name place holder with the same value. What I have in mind is that you will need to create a hidden field, find the name of the field and place it for the URL parameter. Then use that if in case you wish to save the value of the timestamp.
Let me know if you need further clarification regarding this.