Browser Autocomplete for Form Fields

Each input field in Convert Forms has a Browser Autocomplete setting. You can leave it to the browser, turn off suggestions, or point it to a specific token like email or given-name.

Browsers often prioritize user settings over HTML attributes. The autocomplete attribute is a hint, not a guarantee. Support varies across browsers (see the MDN compatibility chart).

Set Autocomplete for a Specific Field

Use this when you want different autocomplete behavior on individual fields. Each field can have its own setting, independent of the others.

  1. Log in to your Joomla administrator
  2. Go to Components → Convert Forms
  3. Edit your form.
  4. Click the field you want to configure.
  5. In the field settings panel, find Browser Autocomplete.

    Browser AutoComplete

  6. Choose one of the following options and save.
    • Default: No autocomplete attribute is added. The browser decides whether to suggest values based on the field type and the user's own settings.
    • Off: Sets autocomplete="off" on the input. The browser won't offer suggestions for this field. Good for fields where autofill would be confusing, like a "confirm email" or a dynamically generated reference number.
    • Custom: Enter any valid HTML autocomplete token to tell the browser exactly what the field expects.

Disable Autocomplete for All Fields in a Form

To turn off autocomplete for an entire form, add autocomplete="off" to the <form> element via a PHP snippet.

  1. Log in to your Joomla administrator
  2. Go to Components → Convert Forms
  3. Edit your form.
  4. Go to Behavior → PHP Scripts → Form Display.
  5. Paste this snippet:
    $needle = '<form name="cf'.$form['id'].'"';
    $replacement = $needle . ' autocomplete="off"';
    $formLayout = str_replace($needle, $replacement, $formLayout);

Notes

  • Chrome and Safari often ignore autocomplete="off" for login fields and show saved credentials anyway.
  • For password and other sensitive fields, new-password is more reliably respected than off.
  • Field-level autocomplete takes priority over any form-level setting.
Last updated on May 26th 2026 11:05