Gravity Forms

Gravity Forms Test Fixtures

Comprehensive Gravity Forms test coverage (22 forms). Forms organized by feature type for testing ListenLayer form tracking.

Key Gravity Forms Events:

  • gform_confirmation_loaded – AJAX form submitted successfully
  • gform_page_loaded – Multi-page form navigation
  • gform_post_render – Form rendered/re-rendered

1. Submission Mode Variations

Testing AJAX vs page refresh submission modes.

1.1 AJAX + Message Confirmation

Default AJAX submission with inline message. Fires gform_confirmation_loaded.

1.2 AJAX + Redirect Confirmation

AJAX submission that redirects to /thank-you/ after success.

1.3 No AJAX + Message Confirmation

Page refresh submission with message. URL will contain entry ID parameter.

1.4 No AJAX + Redirect Confirmation

Page refresh submission with redirect to /thank-you/.


2. Multi-Page Form Variations

Testing multi-step forms with different indicators and features.

2.1 Two-Page with Progress Bar

Two-page form with percentage progress bar. Fires gform_page_loaded on navigation.

Step 1 of 2 – Step 1

2.2 Three-Page with Steps

Three-page form with step indicator (Personal – Contact – Review).

1Personal
2Contact
3Review
Birth Date
MM slash DD slash YYYY

2.3 Multi-Page with Save and Continue

Multi-page form with Save and Continue Later functionality.

1Part 1
2Part 2

3. Conditional Logic Variations

Testing dynamic field visibility and conditional confirmations.

3.1 Conditional Show/Hide Fields

Select Yes to show Customer ID field. Select No to show referral dropdown. Select Other to show specify field.

3.2 Conditional Confirmation

Different confirmation based on selection: Sales = message, Support = redirect, General = message.

Request Type(Required)

4. Special Field Types

Testing various field types and upload functionality.

4.1 File Upload Form

Single file and multi-file upload fields with extension/size restrictions.

Accepted file types: pdf, doc, docx, Max. file size: 5 MB.
Drop files here or
Accepted file types: jpg, png, gif, pdf, Max. file size: 10 MB, Max. files: 5.

    4.2 All Field Types

    Comprehensive form with all common field types: text, textarea, select, multiselect, checkbox, radio, number, date, time, phone, email, website, hidden.

    Checkboxes
    Radio Buttons
    MM slash DD slash YYYY
    Time
    :

    4.3 Name and Address Fields

    Complex name formats (simple, extended) and address types (US, International).

    Simple Name(Required)
    Extended Name
    US Address
    International Address

    5. Spam Protection and Effects

    Testing anti-spam and visual effects.

    5.1 Honeypot Enabled

    Form with honeypot spam protection (hidden field for bots).

    This field is for validation purposes and should be left unchanged.

    5.2 Animation Enabled

    Form with animation effects on submission.


    6. Quick Single-Purpose Forms

    Simple forms for common use cases.

    6.1 Newsletter Simple

    Single email field newsletter signup.

    6.2 Quick Rating

    Star rating feedback form.

    Rate your experience(Required)

    7. Original Test Forms

    Initial test forms (kept for backwards compatibility).

    7.1 Basic Contact (AJAX)

    Name(Required)

    7.2 Contact with Redirect

    7.3 Multi-Page Registration

    1Personal Info
    2Contact Details
    3Preferences
    Full Name(Required)
    MM slash DD slash YYYY

    7.4 Newsletter with Conditional

    7.5 Job Application

    Full Name(Required)
    Accepted file types: pdf, doc, docx, Max. file size: 5 MB.
    Are you authorized to work in this country?(Required)

    7.6 Quick Feedback

    This field is for validation purposes and should be left unchanged.
    How would you rate your experience?(Required)
    Leave your email if you would like us to follow up

    Testing Checklist

    Scenario Form IDs Expected Event
    AJAX submission 7, 8 gform_confirmation_loaded
    Page refresh submission 9, 10 Page reload with entry param
    Multi-page navigation 11, 12, 13 gform_page_loaded
    Conditional field visibility 14 Fields show/hide dynamically
    Conditional confirmation 15 Different confirmation per selection
    File upload 16 Files attached to submission
    Redirect confirmation 8, 10 Redirect to /thank-you/