Skip to main content

Filter: gform_pre_validation

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. rgar($form, 'id')

Example hook names:

  • gform_pre_validation (base hook)
  • gform_pre_validation_1 (with first modifier value)

Allows the form to be filtered before the editable fields are validated.

Parameters

NameTypeDescription
$formarrayThe current form.

Since

Source

Defined in includes/steps/traits/trait-editable-fields.php at line 259