Articles

gform/theme/scripts_loaded

The gform/theme/scripts_loaded event can be used to initialize scripts that depend on Gravity Forms front-end form scripts, including the JavaScript gform object.

gform/submission/pre_submission

The gform/submission/pre_submission filter should be used to perform custom actions between a form button (e.g. submit, next, previous) being clicked and the request being posted to the server.

Reviewing Spam Submissions

The following features are available on the Entries List and Entry Detail pages when entries have been marked as spam by a compatible anti-spam plugin.

Akismet Anti-Spam

Gravity Forms now includes support for the Akismet Anti-Spam plugin within the official Gravity Forms Akismet Add-On

Creating Forms with the GFAPI

The GFAPI::add_form() and GFAPI::add_forms() methods are used to create forms.

Updating Forms with the GFAPI

The GFAPI::update_form(), GFAPI::update_forms(), GFAPI::update_form_property(), and GFAPI::update_forms_property() methods are used to update forms and their properties.

Getting Forms with the GFAPI

The GFAPI includes methods that can be used to get and check if forms exist.

Deleting Forms with the GFAPI

The GFAPI::delete_form() and GFAPI::delete_forms() methods are used to delete forms.

Submitting Forms with the GFAPI

The GFAPI::submit_form() method is used to create an entry by sending input values through the complete form submission process.

Validating Form Submissions with the GFAPI

The GFAPI::validate_form() method, added in Gravity Forms 2.6.3.2, is used to validate the form input values. If the form passes validation the configured anti-spam checks will also be performed.