Phone number validation

newbie-question

#1

how to validate textfiels as mobile number


#2

The first step is to define what you will consider a valid phone number.

Second, what event or action will trigger the validation?

Third, what will happen if it’s valid/invalid?