Filter: gform_required_legend
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form['id']
Example hook names:
gform_required_legend(base hook)gform_required_legend_1(with first modifier value)
Modify the legend displayed at the bottom of the form header which explains how required fields are indicated.
Parameters
| Name | Type | Description |
|---|---|---|
| $message | string | The required indicator legend. |
| $form | array | The current Form. |
Since
Source
Defined in form_display.php at line 1245