Category: Snippets

Creating Multiple IDs with Gravity Forms

Dynamically generate multiple IDs for Gravity forms, which can be displayed on the form or provided to the user.

How to Update Posts with Gravity Forms

Populate and update WordPress posts with Gravity Forms’ entries.

Creating Coupons for Easy Digital Downloads with Gravity Forms

Create coupons for Easy Digital Downloads dynamically from Gravity Forms submissions.

Time Sensitive Choices with Gravity Forms

Automatically filter times in a choice-based field based on the current time.

Count the Total Number of Checked Checkboxes with Gravity Forms

Overview There’s a classic Gravity Forms tongue twister that I love: How many checks could a Checkbox count if a Checkbox could count checks? Up …

Gravity Forms Round Robin

Distribute leads evenly to a group of sales reps, schedule employees for the next available shift, or balance the responsibility of any task-oriented submission (e.g. support requests, job applications, contest entries).

Add Image Previews to Gravity Forms File Upload Fields

Learn how to add image previews to file upload fields when using GP File Upload Pro.

Make Your Gravity Forms Validation Errors Mobile-friendly(er)

Improve Gravity Forms validation errors for mobile users by automatically focusing on the first field with a validation error.

How to automatically reload a Gravity Form when a modal is closed

A simple way to reload a Gravity Form in a modal when the modal is closed; resetting the form to it’s original state.

How to Block a Date Range with Gravity Forms Datepicker

Easily disable a large range of dates from being selectable using GP Limit Dates with this handy filter.

How to Setup Time-based Conditional Logic with Gravity Forms

A simple, code-based solution for creating conditional logic rules based on the current time. Works anywhere Gravity Forms conditional logic is supported (i.e. fields, confirmations, notifications, etc).

How to Add Three Decimals with Gravity Form Currencies

Most default currencies in Gravity Forms will be set to two decimal places. If you need to change this to three decimal places, or some other number, this guide will show you how.

How to hide the Gravity Forms AJAX spinner

You may have seen our article on but what if you want to remove it completely? It’s actually quite simple. All you need to do …

Gravity Forms: Require Unique Values for Different Fields

An easy way to make sure the user enters unique values in each of the designated fields.

Disable Submission when Pressing Enter for Gravity Forms

An easy method for preventing inexperienced users from submitting the form prematurely.