Tutorials and Snippets
Articles
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.
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.
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 Delayed Payment Support to a Feed Add-On
Adding support for delaying feed processing until after a PayPal payment has been successfully completed is as simple as adding one line to your add-on.
How to Set the Default Properties for a New Field
This article shows how the SetDefaultValues_ function can be used with get_form_editor_inline_script_on_page_render() to set the default properties for a new field.
Including a New Field Using the Add-On Framework
In this article we will show how you can use the add-on framework to include a new field type which extends the GF_Field class.
Including and Using Entry Meta with the Add-On Framework
The get_entry_meta() function can be overridden to include custom entry meta when creating an add-on which uses the Add-On Framework.
Including Scripts and Styles when Using the Add-On Framework
Scripts and styles can be included for an add-on by overriding the scripts() and styles() functions with structured arrays.
PayPal Pro – Sending a Custom Product Label and Description
This snippet shows you how to send a custom product label and description with your form submissions when using the PayPal Pro add-on.
Requiring a Cardholder Name
This snippet will allow you to require the cardholder’s name within payments accepted through Gravity Forms.