Autocomplete Tokens

HTML autocomplete="cc-exp-month"

Build a form with the HTML form generator

Month portion of expiry when month and year are separate; validate the range 1–12 in the payment flow. 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-month"

Parameters & Attributes

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

Working Example

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