-
Marlee Michael PerezAsked on July 30, 2024 at 3:15 PM
I need to prefill a form's fill-in-the-blanks with answers from a different form. Is that possible?
Form 1 is a booking request form, and Form 2 is an agreement that the user needs to sign if their request is approved. Form 2 needs to include all of the booking info from Form 1, and it needs to populate in fill-in-the-blank fields because it is an agreement written in paragraphs, and would not work with the regular inserted form fields.
-
Joshua_T JotForm SupportReplied on July 30, 2024 at 3:57 PM
Hi Marlee,
Thanks for reaching out to Jotform Support. To confirm, are you trying to create a flow where you can send a prefilled fill-in-the-blank field in Form 2 once Form 1 is approved? If so, unfortunately, this is not possible to Automatically Pass fill-in-the-blank Data From Form 1 to Form 2. But, other form elements like Short text, Single Choice, Multiple Choice, Number, Name, Email, and Phone number elements will work.
Let us know if you want to automatically pass data of the fill-in-the-blank field from Form 1 to Form 2, so we can escalate it as a feature request.
Once we hear back from you, we can move forward with a solution.
-
mamperezReplied on July 31, 2024 at 2:42 PM
Yes, I would like to populate the fill-in-the-blank fields in Form 2 with the responses given in Form 1, when Form 1 is approved. The responses in Form 1 are not fill-in-the-blank fields; they are the usual form elements such as Short text, Single Choice, Multiple Choice, Number, Name, Email, and Phone number.
I feel this is a really imperative feature for the system to have.
If I can't get Form 2 to automatically populate with Form 1's information, and instead have to manually populate Form 2 for each Form 1 submission, how can I have an automated email that sends Form 2 to the responder when Form 1 is approved? -
Jefferson JotForm SupportReplied on July 31, 2024 at 3:31 PM
Hi Marlee,
I’ll need a bit of time to look into this. I’ll get back to you as soon as I can. As for your other question, I've moved that to a new thread. You can check that out here.
In the meantime, let us know if there’s anything else we can do for you.
-
Jefferson JotForm SupportReplied on July 31, 2024 at 4:18 PM
Hi Marlee,
I got word from the relevant team. You can populate the fill-in-the-blank fields in Form 2 with the responses given in Form 1, when Form 1 is approved. Here's how to do it:
First, we need to add a Fill-in-the-blank element to your form. Here's how to do it:
- In Form Builder, click on the Build tab in the orange navigation bar at the top of the page.
- Click on the Basic tab on the left side of the page.
- Drag the Fill in the blank element on your form.
Next, we need to build the Landing Page URL. Here's how to do it:
- In Form Builder, click on the Settings tab in the orange navigation bar at the top of the page.
- Click on the Thank You Page tab on the left side of the page.
- Select the Redirect to an external link after submission option on your form.
- Enter the URL below.
URL:
https://form.jotform.com/242125759108457?input3[email-1]={input3:1}
To break that down:
- https://form.jotform.com/242125759108457 — The URL of the target form.
- ? — The question mark is used as a separator.
- input3[email-1]={input3:1} — The query parameter* in key-value pair:
- input3[email1]— The target form’s unique name for its Email element as the key.
- {input3:1} — The source form’s unique name for its Email element as the value.
Here's the sample output:
You can also clone the target and the source form using this link. We also have a guide about How to Automatically Pass Form Data to Another Form and How to Clone an Existing Form From a URL that you can check out.
Give it a try and reach out again if you have any other questions.