What it looks for
Phone and card fields do not demand one strict format. Read from the first checkout step's code: a phone or card field whose format rule only allows digits (for example exactly 16 digits) would reject spaces and dashes. Nothing is typed, and formatting done by the page's scripts is not seen. When the checkout takes payment elsewhere and has no such field, the rule does not apply.
- Pass: No phone or card field restricts input to digits only.
- Fail: A phone or card field only allows digits, so spaces or dashes would be rejected.
How it is checked
- Fresh browser. Signed out, cookies cleared, desktop and mobile viewports, the store's live theme.
- Open a product. A real, in-stock product page, found the way a shopper finds one.
- Add to cart. Default variant, quantity one, then the cart page itself.
- Walk the checkout. From the cart to the payment step. Nothing is ever bought.
- Judge this rule. Against the standard above, on what a shopper can see.
- Record the verdict. Pass, partial or fail, saved with the evidence it was judged on: a screenshot where the rule is visual.
Why it matters
Format-flexibility is basic form UX. Different browsers and password managers autofill card numbers with different separators. A strict form rejects them all and blocks conversion.
How to fix it
- Strip spaces and dashes server-side or on blur. Never reject before the user has finished typing.
- For card numbers, use Stripe Elements or a similar library that handles formatting for you.
- For phone, accept any format, normalize to E.164 (+1234567890) on submit.
What the xfix ux team says about this rule
Refusing a card number with spaces in it refuses the way the number is printed on the card.
Drafted by the xfix ux team and approved on 22 Sept 2026.
Sources
How to cite it
0 of 35 online stores audited by xfix ux fail the rule "No forced format for phone/card (accepts spaces, dashes)" (CHK-025) as of November 2026. xfix ux, xfix.ai/ux/rules/stores/strict-input-format-rules/
Questions
What does CHK-025 check?
Phone and card fields do not demand one strict format. Read from the first checkout step's code: a phone or card field whose format rule only allows digits (for example exactly 16 digits) would reject spaces and dashes. Nothing is typed, and formatting done by the page's scripts is not seen. When the checkout takes payment elsewhere and has no such field, the rule does not apply.
What counts as a pass on CHK-025?
No phone or card field restricts input to digits only.
What counts as a fail on CHK-025?
A phone or card field only allows digits, so spaces or dashes would be rejected.
How many stores fail CHK-025?
0 of the 35 published store audits that judged it fail it (0%), as of 29 Nov 2026.
Why does CHK-025 matter?
Format-flexibility is basic form UX. Different browsers and password managers autofill card numbers with different separators. A strict form rejects them all and blocks conversion.
How do I fix a fail on CHK-025?
Strip spaces and dashes server-side or on blur. Never reject before the user has finished typing. For card numbers, use Stripe Elements or a similar library that handles formatting for you. For phone, accept any format, normalize to E.164 (+1234567890) on submit.