Autocomplete Tokens
HTML autocomplete="cc-exp"
Combined expiration month and year. A month input is another option when supported by the payment form. Use this value on a compatible form control. Autofill is a browser/user preference, not an input constraint or proof that the value is accurate. Validate submitted data separately.
Formal Syntax & Structure
html syntaxhtml
autocomplete="cc-exp"Parameters & Attributes
| Name | Type | Description |
|---|---|---|
| autocomplete | ordered token list | Use cc-exp as the attribute value. |
Working Example
Example Snippethtml
<label> Card expiry <input type="text" name="cc-exp" autocomplete="cc-exp"></label>