Autocomplete Tokens

HTML autocomplete="cc-exp"

Build a form with the HTML form generator

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

NameTypeDescription
autocompleteordered token listUse cc-exp as the attribute value.

Working Example

Example Snippethtml
<label>  Card expiry  <input type="text" name="cc-exp" autocomplete="cc-exp"></label>
HTML Reference