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 prefill values for another form after submitting the initial form?Asked by IneVerhulst on January 24, 2017 at 09:13 AM
The situation is: I created an application form, in which the applicant should mention the expected costs for travel, hotel etc. After they went on training/mission, they can submit an expenses bill. I would like to create an prefilled expenses bill after someone filled in the training form.
Eg, someone fills in:
he/she submits the form, can an expense bill be created with the answers of the training form, containing the amounts given?
Yes, based on your description so far, this should be possible to be achieved in several ways.
Can you please describe your intended workflow, such as how, and in what form do your users currently submit to you their expenses bill?
Do you intend for them to make a submission on another form where they would detail their exact expenses? If so, you could create a special prepopulated link to that second form (actual expenses) instantly to your users when they submit the first form (expected expenses).
After they come back from the trip, they could simply use the prepopulated link with the values offered from the first form, and then they make adjustments and submit that second form. If that is the method you'd like to take, you could prepopulate values to the second form with with URL parameters, by following this guide:
If you had something else in mind, please describe your intended workflow, and we'll be glad to help look for possible ways to achieve it. Thank you.
now it's a paper form they fill in, so not automatically generated. So no control between estimated and real expenses.
I've tried the prepopulated fields but I get stuck after a while.
I've created a form 'expenses bill'. Then I've copied the elements from the Training application (cursor in field required --> Inspect elements --> copied the name after the _ and pasted it in the URL of the expenses bill which I've 'opened in a new tab'....but nothing happens
Can you help me?
thanks a lot
Once you get all the field details to be sent to the other form, it is required to generate the URL with the second form passing all the information from the first form.
For instance, the other form is having the fields with the same field names as in your primary form, you can generate the form URL as shown below:
Assuming https://form.jotform.com/1234567890 is the second form. This generated URL with parameters can be set as a Thank you page so that the form will be redirected to the URL provided after submitting the first form.
Please refer to the guide below that can help you with passing the form data to another form.
thank you very much, this was very helpfull! I managed to link the two forms to on another, it's just great :)