Tutorials and Snippets
Articles
How to Add a New Field to an Existing Form Using the GFAPI
This articles explains how to add a new field to an existing form programmatically using the Gravity Forms API.
How to Add a Custom Field Group when Using the Field Framework
When using the field framework to include new field types, you can override the add_button() method to add a custom field group if it doesn’t already exist.
Highlighting the Current or Future Date in the Datepicker
This article explains how to highlight the current or future date in the datepicker using a jQuery code snippet.
Hiding the Form Title
This article about how to hide the form title in Gravity Forms outside of the shortcode, includes a CSS snippet on how to do it.
Filter Category in Post Category Field
This code snippet allows post categories to be filtered so certain categories can be excluded from use.
Enable Use of the Total Field with Conditional Logic
The Total field can’t be used to configure conditional logic rules, but this snippet makes that possible.
Enable Editing of the Entry Payment Details
The payment details panel on the entry detail page is usually only displayed when the entry was processed by a payment add-on.
Display a message on the login form when the user is pending activation
Use the WordPress authenticate filter to check if the user attempting to login is still pending activation so a custom message can be displayed
Disabling Mobile Keyboard Input on Datepicker Fields
This quick block of Javascript will allow you to disable keyboard input within Date fields. This snippet is helpful if you need to avoid the virtual keyboard from appearing within the datepicker.
Deleting Cached Entry Data
This snippet will allow you to delete the cached entry data when viewing an entry.