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

Comments

1 comment

  • Avatar
    Prajakta

    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.

    0
    Comment actions Permalink

Please sign in to leave a comment.