Submit a Multi-Page Gravity Form Without Going Through All Pages

1 day ago

4 Min. Read

Share URL

This page may contain affiliate links. Please read my disclaimer for more information.

Problem

Multi-page forms are great for breaking long surveys or applications into digestible chunks, but they come with a rigid assumption: the user must click through every single page to reach the Submit button on the last one.

That becomes a problem when someone only needs to edit part of an existing entry, or when the first few pages capture everything you actually need and the rest is just bonus detail. You don’t want to force people to hammer the Next button five times just to finish.

Solutions

Gravity Forms doesn’t provide a “Submit from any page” switch in the UI, but with a small snippet, you can add a Submit button to every page.

Option 1: Code Snippet (Free)

This snippet adds a “Submit Now” button next to each Next button, letting the user submit from whichever page they’re on. Place it in an HTML field inside the form.

Replace GFFORMID with your actual Form ID.

<script>
/**
 * Gravity Wiz // Gravity Forms // Submit from Any Page
 * https://gravitywiz.com/
 *
 * Adds a "Submit Now" button after each Next button on a multi-page form.
 * Clicking it forces submission from the current page without visiting later pages.
 *
 * INSTRUCTIONS:
 * 1. Replace GFFORMID with your actual Gravity Forms Form ID.
 * 2. Add this code to an HTML field inside the form (NOT a confirmation message).
 *    Alternatively, scope it to the form page via WPCodeBox.
 */
jQuery( document ).ready( function( $ ) {
    $( '#gform_next_button_GFFORMID_1' ).closest( '.gform_body' )
        .find( '.gform_next_button' ).each( function() {
            var fieldId = gf_get_input_id_by_html_id( $( this ).attr( 'id' ) );
            $( this ).after(
                ''
            );
        } );
} );
</script>
<style>
    /* Optional spacing between Next and Submit Now buttons */
    .gform_next_button { margin-right: 10px !important; }
</style>
</?>

What it does:

  • Iterates every Next button on the current page.
  • Injects a Submit Now button after each one.
  • Clicking it sets the target page number to 0, which tells Gravity Forms to treat the current page as the final page.
  • Triggers form submit with true to bypass the normal page-advance logic.

Option 2: Restructure with Conditional Logic (No Code)

If you don’t want to touch JavaScript, redesign the form so later pages are optional:

  1. Add a field on the first page (Radio Buttons or Drop Down): “Do you want to add extra details?” with choices Yes / No.
  2. On every later page, open the page’s settings and enable Conditional Logic.
  3. Set the condition: Show this page if “Do you want to add extra details?” is Yes.
  4. Make sure fields on those later pages are not required. Required fields on hidden pages will still block submission.

Now, a user who selects No sees the Submit button on page 1 because Gravity Forms hides the remaining pages entirely.

Limitations & Caveats

  • Validation on skipped pages: If later pages contain required fields, the form will still reject submission even with the Submit Now button. Either make those fields optional, or hide them via conditional logic.
  • Progress saving: Submitting early saves a completed entry, not a partial one. If you need to capture abandoned data, use the Partial Entries Add-On instead.
  • Field visibility: Fields hidden by conditional logic are not validated on submission. Fields on later pages that are merely skipped by the JS are still part of the form DOM and may be validated if required.
  • AJAX forms: The snippet works with both regular and AJAX-enabled multi-page forms because it manipulates the same DOM elements Gravity Forms uses natively.
  • Gravity Forms version: Tested on Gravity Forms 2.7+. The gf_get_input_id_by_html_id helper is part of Gravity Forms core and should be available.

Need More Help?

If you still need help and Gravity Forms support isn’t an option, feel free to use the comments or chat options below.

Photo of author
About the Author
Chris Eggleston
Husband. Father of 4. Grandpa of 2. Chief Problem Solver exploring business systems, technology, AI & faith — helping people solve real problems. @mantiswp @chrisegg

Support Chris - Donate $5

Gravity Wiz Add-Ons

Advertisement

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments

Related Post

Submit a Multi-Page Gravity Form Without Going Through All Pages

How to let users submit a multi-page Gravity Form from any page using a free JavaScript snippet or by restructuring with conditional logic.

1 day ago

4 min. read

Change Radio Button Selection When Typing a Custom Value in Gravity Forms

A lightweight JavaScript snippet that automatically selects the "Other" radio button when a user types a custom donation amount into a Gravity Forms text field.

Jun 9, 2026

3 min. read

Styling Gravity Forms Radio Buttons Like Toggle Switch

Problem I recently had someone ask if it was possible to style radio buttons like a toggle switch in Gravity...

Mar 17, 2026

4 min. read

Automatically Switch from a Registration Form to a Waitlist in Gravity Forms

This tutorial shows you how to automatically switch from a registration form to a waitlist form in Gravity Forms using entry limits or attendee tracking with a custom shortcode.

Sep 29, 2025

4 min. read

Using AI + Gravity Forms to Streamline Job Applications

Hiring is tough. Sorting through dozens, or even hundreds, of job applications is time-consuming, repetitive, and prone to human bias. That’s where combining Gravity Forms, Gravity Flow, and AI automation comes in.

Sep 26, 2025

2 min. read

Turn Gravity Forms Image Choice Field into carousel

Problem Recently, I saw a Gravity Forms user looking for a way to style the new Image Choice field. Specifically,...

Jul 14, 2025

3 min. read