properties.styleAttribute¶
- Option path
TYPO3.CMS.Form.prototypes.<prototypeIdentifier>.formElementsDefinition.Honeypot.properties.styleAttribute
- Data type
string
- Needed by
Frontend/ Backend (form editor)
- Overwritable within form definition
Yes
- form editor can write this property into the form definition (for prototype 'standard')
No
- Mandatory
No
- Default value (for prototype 'standard')
1Honeypot: 2 properties: 3 containerClassAttribute: input 4 elementClassAttribute: '' 5 elementErrorClassAttribute: error 6 renderAsHiddenField: false 7 styleAttribute: 'position:absolute; margin:0 0 0 -999em;'
- Description
By default the honeypot will be rendered as a regular text form element (input type "text"). The
styleAttribute
is written to the honeypot form element to make it "invisible" for humans.