To check the guest's phone numbers, I use the validator "NwaSmsIsValidPhoneNumber". It works fine but now I need to force guests to add a + before the number. Like +044234657890
How can I do this ?
Change the Validator to IsRegExMatch and use this regex:
That should enforce the E.164 standard.
Thanks, I will try it.
A fast feedback, working fine thanks.
I need a new regex that checks that there are only numbers with no spaces and max lenght is 15 digits. Anyone can help me, thanks.
Ok thanks, it's allright.
At Aruba, we believe that the most dynamic customer experiences happen at the Edge. Our mission is to deliver innovative solutions that harness data at the Edge to drive powerful business outcomes.
© Copyright 2020 Hewlett Packard Enterprise Development LPAll Rights Reserved.