-
sarveshshukla075Asked on June 3, 2025 at 1:03 AM
Hi JotForm Support,
I need help understanding how to implement the following logic between two forms:
- I have two forms: Form 1 and Form 2.
- Both forms have identical fields (same labels and structure).
- I want to prefill Form 2 using data submitted in Form 1, by passing the values through the URL parameters.
- In Form 2, I would like to only display the fields that were left empty in Form 1, and hide the ones that were already filled.
Could you help me understand how to:
- Construct the prefill URL correctly from Form 1 to Form 2?
- Set up conditions in Form 2 to only show fields that were left blank in Form 1?
Any guidance or examples would be greatly appreciated!
Thank you,
-
Podo: Support AI AgentReplied on June 3, 2025 at 1:04 AM
Hi sarvesh,
Thanks for reaching out to Jotform Support. I'm an AI assistant. I'll do my best to help you until someone from the support team is available.
Let me help you with that:
To prefill Form 2 from Form 1 using URL parameters, you can use Jotform's Field Prepopulator tool. This tool helps you generate a URL with query parameters that correspond to the fields in Form 2, which you can then populate with data from Form 1.
Here’s how to do it:
- Go to Field Prepopulator and select Populate Fields, then authorize the app.
- Choose Form 2 in the Form Picker dialog and continue.
- Provide prefill values for the fields, then generate and copy the URL.
You can use this URL to pass data from Form 1 to Form 2 by appending the field values as query parameters.
To show only the fields in Form 2 that were left blank in Form 1, you can set up conditional logic in Form 2:
- Go to Settings tab in Form 2.
- Select Conditions and choose Show/Hide Field.
- Create conditions to hide fields if the corresponding URL parameter (prefilled value) is not empty.
This way, fields that were filled in Form 1 will be hidden in Form 2, and only the empty ones will be shown.
We have detailed guides on prepopulating fields via URL parameters and setting up conditional logic that you might find useful.
Give it a try and let us know how it goes.
-
SergioReplied on June 3, 2025 at 4:01 AM
Hi sarvesh,
We have detailed guides for both of the requests you mentioned. Please check the links below.
We have a guide about Populate Fields Automatically Pass Form Data to Another Form that you can check out.
Also, check out our guide explaining how to Show or Hide Fields Conditionally
Let us know if you have any other questions.
Your Reply
Something Went Wrong
An error occurred while generating the AI response. Please try again!