Skip to main content

Setting the autocomplete attribute on a form field

Log in to add to favourites

Have you ever filled out a form and had your browser suggest your name and address? This feature, enabled by the autocomplete attribute, is not just convenient but also an important accessibility tool.

The autocomplete attribute can be added to form fields so that browsers and assistive technologies can understand the purpose of the field and help users fill out the information faster.

To specify the autocomplete attribute for a form field you'll need to do the following:

  1. With a form opened for editing, select the field you want to apply the autocomplete attribute to.
  2. From the advanced settings panel, locate the Autofill property.
  3. Enter an autocomplete value from the MDN docs that reflects the expected input.

Predefined values

The following fields in the forms builder have predefined values applied when rendered, but these can be overridden using the process above.

  • Email address is set to email
  • Phone number is set to tel
  • Website is set to url

Accessibility

Still need help?

If you still need help after reading this article, don't hesitate to reach out to the Contensis community on Slack or raise a support ticket to get help from our team.
New support request