Developer forum

Forum » Ecommerce - Standard features » Validation Groups

Validation Groups

Marie Veigert
Reply

Hi,

I have these requirements to validate serverside in checkout flow:
Name fields: A-Z and a-z and ' and -
Phone number: 0-9 and + and any others ?

When I look, I don't have an option to support this or are I missing something?
I see the attached options.

BR Marie Louise


Replies

 
Adrian Ursu Dynamicweb Employee
Adrian Ursu
Reply
This post has been marked as an answer

Hi Marie,

You have to use Regular Expressions and find the appropriate regular expression for your case.

Here is a simple cheatsheet: https://rapidapi.com/blog/regex-cheat-sheet/

But I am sure you can find a lot more if you search online

Adrian

Votes for this answer: 1

 

You must be logged in to post in the forum