Expand my Community achievements bar.

Adobe Web Forms - Phone Number Validation

Avatar

Level 1

Hi Everyone,

I am trying to build an Adobe web form that syncs the data to Excel. I want to validate the phone number on input - the number will be the Philippines. How do I do this using the Custom Regular Expression?

As a secondary question, is it also possible to set the web form for the number to always add +63? This is less important, but I am interested to see if it is possible.

 

Thank you in advance.

1 Reply

Avatar

Community Advisor

You can create the custom pattern as shown in the image and then use that pattern in your fields. In the given pattern field add your country phone pattern.

 

Also, you can append the +63 to your field in the script while setting the data in the field.