Test the validity of a phone number field

MR

New Member
hello,
i'm using a fabrik form that contains a field for phone number, is there a way to test its validity ? in fabrik validity test ? otherwise how can i do so ?

thnx
 
You can use regex validation, but if you want to allow formats from all countries there are endless permutations to consider. Google: regex telephone number validation
 
There's also the possibility to define a "mask" in the field element "Formatting" settings.
 
You can use regex validation, but if you want to allow formats from all countries there are endless permutations to consider. Google: regex telephone number validation
how can i use the regex validation ? is it available in fabrik's elements ?
 
The condition is only necessary if you want to apply some logic as to when the validation is run or not. See the wiki.

All validations run on the server side, not in the browser. If you enable AJAX validation, we fire off an AJAX call to the server, to run the validation.

Validations are always run during form submission, but only run on the page as you change values if you enable AJAX validation.

-- hugh
 
Back
Top