Postel's Law
Accept what people type, in any form
Accept data in the form people naturally type it. Clean it up in the app, and show an error only when the app cannot.
This guideline comes from Postel's Law. Read more about it on lawsofux.com.
In plain words: accept what people give you in any sensible form, and tidy it up yourself before you pass it on. A good receptionist takes your phone number however you say it, and writes it down neatly.
The scenario: the phone-number field at checkout on Fernvale Goods. Both versions below work — try them. Each starts with a number written the way many people write it: “+30 210 555 0199”. Click outside the field, or press the button, and see how each version reacts.
Try it yourself
Switch between Before and After, then try each version.
Delivery details
Step 2 of 3 — we'll text you when the courier is nearby.
Payment
Step 3 of 3 — check and place your order.
We'll text the courier updates to:
Demo shop: nothing is charged and no card details are asked.
Delivery details
Step 2 of 3 — we'll text you when the courier is nearby.
Payment
Step 3 of 3 — check and place your order.
We'll text the courier updates to:
Demo shop: nothing is charged and no card details are asked.
Apply this rule to your app
Accepting every format turns a failed checkout into a sale and saves a support call.
Does your app have this problem?
I can look at your app's screens and show you which fixes bring the most value.
Email meYour progress
Got it? Tick it off. Your progress stays in this browser.