How to set optional character on required Input Mask

  • Profile Image
    bimboo
    Asked on September 19, 2016 at 04:10 PM

    Hello. 

    Here in Brazil, We have two phone pattern:

    (XX) XXXXX-XXXX and

    (XX) XXXX-XXXX

    The third digit is opcional. How a can make a mask for opcional digit?

  • Profile Image
    Mike
    Answered on September 19, 2016 at 08:24 PM

    Thank you for contacting us.

    It is possible to add an optional character with the square brackets.

    Example:

    The form user will be able to use a 'space' or '-' to skip that character.

    If you need any further assistance, please let us know.