Filter: gform_duplicate_message
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
$form['id']
Example hook names:
gform_duplicate_message(base hook)gform_duplicate_message_1(with first modifier value)
Allows the no duplicate validation message to be customized.
Parameters
| Name | Type | Description |
|---|---|---|
| $message | string | The no duplicate validation message. |
| $form | array | The form currently being validated. |
| $field | \GF_Field | The field currently being validated. |
| $value | mixed | The value currently being validated. |
Since
Source
- Defined in
includes/fields/class-gf-field-repeater.phpat line 176 - Defined in
form_display.phpat line 2647