How to validate if the input is a valid phone number only denied it if its a mobile phone

Jeck Manalo
Tera Guru

I am using the GlideElementPhoneNumber since its an OOTB to validate if phone is valid.

 

My question is how can we validate if the user input a mobile phone number format into business phone and make it as invalid ?

 

this is a business phone and its ok

 

my thinking is i will use a field in a user field then input the format for Business Phone and validate it if its written the same in business phone field then its valid and if the value is a mobile number then it will be invalid.

 

JeckManalo_2-1744271828332.png

 

this is a mobile phone and still shows a valid phone

 

JeckManalo_3-1744271894408.png

 

 

0 REPLIES 0