Disable spellcheck with custom attributes
Use custom attributes to control spellcheck.
You can change the behavior of the spellcheck HTML attribute (typically assumed by web browsers to be on by default) in your text fields — for example, to disable spellcheck in form fields that collect site visitors’ names, which browsers may not recognize.
To disable spellcheck on a text field:
- Select the text field on the canvas
- Go to Element settings panel > Custom attributes
- Click the “plus” icon
- Enter “spellcheck” in the Name field
- Enter “false” in the Value field
Once you publish your site, the red spellcheck line won’t appear in your text field. That’s (part of) the power of HTML attributes! Learn more about HTML attributes.