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 successfullygform_page_loaded– Multi-page form navigationgform_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.
2.2 Three-Page with Steps
Three-page form with step indicator (Personal – Contact – Review).
2.3 Multi-Page with Save and Continue
Multi-page form with Save and Continue Later functionality.
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.
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.
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.
4.3 Name and Address Fields
Complex name formats (simple, extended) and address types (US, International).
5. Spam Protection and Effects
Testing anti-spam and visual effects.
5.1 Honeypot Enabled
Form with honeypot spam protection (hidden field for bots).
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.
7. Original Test Forms
Initial test forms (kept for backwards compatibility).
7.1 Basic Contact (AJAX)
7.2 Contact with Redirect
7.3 Multi-Page Registration
7.4 Newsletter with Conditional
7.5 Job Application
7.6 Quick Feedback
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/ |