How it works
You add one or more fields. For each field you set a pattern and choose when to block:- Matched: block checkout when the value matches the pattern. Use this for things you don’t want, such as numbers in a name.
- Unmatched: block checkout when the value doesn’t match the pattern. Use this for a format the value must follow, such as a postcode.
Set up the rule
1
Select the fields
Under Add validation to these fields, click the box and tick the fields to check. Each field gets its own card.
2
Enter a pattern
In the field’s card, type a pattern in Custom Regular Expression, or click the presets button and choose one of the ready-made patterns. Choosing a preset also sets When for you.
3
Choose when to block
Under When, choose Matched or Unmatched.
4
Choose shipping or billing
For address fields, tick Shipping address, Billing address or both.
5
Write the message
Under Message to display in the field’s card, write what the customer sees. English is required for each field.