Articles

Getting Fields with the GFAPI

The GFAPI::get_fields_by_type() and GFAPI::get_field() methods are used to get form fields.

Validating Field Submissions with the GFAPI

The GFAPI::validate_field() method, added in Gravity Forms 2.7, is used to validate the input values of a specific field.

Managing Notes with the GFAPI

Documentation for the GFAPI methods for managing entry notes.

gf_has_action

Determines if a callback has been registered for the specified action. gf_has_action( array( 'action_name', $modifier1 ) );.

gf_has_filters

Description Determines if a callback has been registered for the specified filter. Usage [php]
gf_has_filters( array( 'filter_name', $modifier1 ) );
[/php].

Gravity Forms and PHP 8.1 Compatibility

This article describes the current status of efforts to confirm compatibility of Gravity Forms products with the new PHP 8.1 major release.

REST API v2 Authentication

The Gravity Forms REST API v2 supports authenticating requests using Basic Authentication and OAuth 1.0a Authentication. Credentials can be generated by Gravity Forms or WordPress.

Submitting Forms with REST API v2

The form submissions endpoint was added in Gravity Forms 2.4, it is used to create an entry by sending input values through the complete form submission process.

Validating Forms with REST API v2

The form submissions/validation endpoint was added in Gravity Forms 2.6.3.2, it is used to validate the form input values.

Getting the Form Field Filters with REST API v2

The field-filters endpoint was added in Gravity Forms 2.4.21.8, it returns the field filters for the specified form. The response can be used to determine which keys and operators to use when getting the entries.