SilverStripe\SpamProtection\EditableSpamProtectionField::validateField
Using custom validateField method as Spam Protection Field implementations may have their own error messages and may not be based on the field being required, e.g. Honeypot Field
Signature
public function validateField(array
$data,
Form
$form )
Parameters
$data
— array$form
— object
Returns
- void