How can I enforce a phone number of the form (###) ###-####


1 comment

  • Avatar

    If you want your users to enter the phone number in only one format, then use a Text Control and set your pattern on that text control.

    If you wish to add this pattern to the already existing ones available for the Phone Control, then you will have to update it in the types.xsd file at server level. Please see this documentation which explains how to add your regexp to the existing patterns of the phone control.

    Comment actions Permalink

Please sign in to leave a comment.