How to Prepopulate the Same Form with Data from a Previous Submission?

June 24, 2024

Note

This guide is for prepopulating a form with the same data previously entered, right after submission. For prepopulating the form with data from existing entries, see Tables Prefill.

Sometimes, there are cases when multiple submissions are made to a form, one after the other, and the same data (for some fields) is repeatedly typed for each submission.

You can set up the form to copy the data from the previous submission and prepopulate the fields with that data in the new submission. This way, the fields that will have the same data as the previous submission don’t need to be filled again.

Youtube Embed Poster: J3bxOfXTb6g

The way that this work is:

  • A user opens the form, fills in the data, and submits the form.
  • The form filler lands on the Thank You Page where they can click a link or button back to the same form, but this time, the fields are pre-filled with the data previously entered. The users can also be redirected back to the form directly, bypassing the Thank You Page, after submission.

You can achieve this using the Fill Again Action Button or by adding a link or redirecting the users to the same form after submission and prepopulating the form via URL parameters.

How to Set Up the Fill Again Action Button

  1. Open the Settings tab in the Form Builder.
  2. Choose Thank You Page on the left.
  3. Make sure that the Show a Thank You Page after submission option is selected.
  4. Click Action Buttons in the editor.
  5. Select the Fill Again option.
  6. Change the button name if needed.
  7. Click the Set Prefill button.
  8. Set the Prefill Form Fields option to “On”.
  9. Select the form fields to prefill.
  10. Click the Save button to save the changes.
  11. Finally, click the Save button again to complete the setup.

How to Remove the Fill Again Action Button

  1. Go to the Settings tab in the Form Builder.
  2. Choose Thank You Page on the left.
  3. Click Action Buttons in the editor.
  4. Hover on Fill Again and click Edit.
form-builder-edit-fill-again
  1. Click Remove.
form-builder-remove-fill-again

How to Create a Fill Again Link or Redirection

In this demo form, the fields that will be prepopulated after clicking the link on the Thank You Page are First Name, Last Name, and Email using the following URL:

https://www.jotform.com/220350738927055?name[first]={name:first}&name[last]={name:last}&email={email}

The tag or unique name of a field can be found under its advanced properties. You can also check the valid URL parameters on your form using the Field Prepopulator app.

form-builder-properties-advanced-unique-name-min

Check out the “Prepopulating Fields to Your Jotform via URL Parameters” guide to learn more.

Note

The File Upload element and some widgets cannot be prepopulated via URL parameters.

Adjust the redirection with the URL of your form and the field names of your form and you should be good to go.

Once you have the URL with query parameters, you can show it as a link on the Thank You Page or redirect the users to the target URL after submission:

Show the Link on the Thank You Page after Submission

  1. Go to the Form Builder’s Settings tab.
  2. Click Thank You Page on the left.
  3. Create a new line in the editor and click on the Insert/edit link icon.
  4. Input the URL and the Text to display.
  5. Click Ok.

Redirect to the Same Form after Submission

  1. Edit your form’s Thank You Page.
  2. Select the Redirect to an external link after submission option.
  3. Input the target URL.
form-builder-redirect-to-an-external-link-after-submission-min

For more information, visit the “Redirecting Users to a Different Page” guide.

The form fillers can also be redirected conditionally.

form-builder-conditions-change-thank-you-page-min

Demo form: https://www.jotform.com/220350738927055

Push Notifications for Jotform Apps
Academy Logo

Introduction to Form Building

Prefill

Go to course :Prefill
lesson-2 - image
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Comments:

  • Borgerberedskabet - Profile picture
  • Hamilton Fringe - Profile picture
  • rsynetzer - Profile picture
  • zeajorge - Profile picture