StudioBonito\SilverStripe\SpamProtection\Honeypot\SpamProtector\HoneypotSpamProtector::getFormField
Return the {@link FormField} associated with this protector.
Most spam methods will simply return a piece of HTML to be injected at the end of the form. If a spam method needs to inject more than one form field (i.e a hidden field and a text field) then return a {@link FieldGroup} from this method to include both.
Signature
public function getFormField([string
$name = null,
[string
$title = null,
[mixed
$value = null]]] )
Parameters
$name
— string$title
— string$value
— mixed
Returns
- FormField
- The resulting field