Phone number field
Is there away to setup a field to receive phone number?
Is there away to setup a field to receive phone number?
What's the trouble?
Phone number is just an INT datatype, right?
Please explain more.
Use text field and use "Regular Expression" as validation in order to make sure the Phone number is in your expected format.
But where and how will I put the regex so that the validation can be done on client and server. If there is an error on client the red color on the edges of the fields must be shown?
sagmag wrote:
But where and how will I put the regex so that the validation can be done
on client and server. If there is an error on client the red color on the
edges of the fields must be shown?
You can also use [Client Script] -> [Form_CustomValidate] of the Edit Page or Add Page to validate the field.
Read help file topic: "Server Events and Client Scripts" -> "Client Scripts" -> "Form_CustomValidate" for more information.