# Bad value “telephone” for attribute “autocomplete” on element “input”: The string “telephone” is not a valid autofill field name.

> Canonical HTML version: https://rocketvalidator.com/html-validation/bad-value-telephone-for-attribute-autocomplete-on-element-input-the-string-telephone-is-not-a-valid-autofill-field-name
> Attribution: Rocket Validator (https://rocketvalidator.com)
> License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

The `autocomplete` attribute does not accept `"telephone"` as a valid value — the correct value is `"tel"`.

The `autocomplete` attribute helps browsers autofill form fields with previously saved user data. Each field type has a specific token defined in the HTML specification. For phone numbers, the valid token is `"tel"`, not `"telephone"`. Other related tokens include `"tel-country-code"`, `"tel-area-code"`, `"tel-local"`, and `"tel-extension"` for more granular phone number parts.

Using the correct token ensures that browsers can properly suggest stored phone numbers to users, improving the form-filling experience.

## Invalid Example

```html
<label for="phone">Phone number</label>
<input type="tel" id="phone" name="phone" autocomplete="telephone">
```

## Valid Example

```html
<label for="phone">Phone number</label>
<input type="tel" id="phone" name="phone" autocomplete="tel">
```
