How to include a pre defined "-" dash in a numbers field?

  • ConsGuaHou
    Fecha de consulta 3 de octubre de 2023, 11:27

    Good morning

    The phone number field is restricted to numbers only. Would it be possible that when you enter one, it puts it in the format ###-###-####, since many people try to enter the number with a "-" in between. It would be convenient to put it automatically when adding this field. Thanks.


    Buenos dias

    El campo de numero de telefono esta restringido a unicamente numeros. Es posible que cuando se ingresa uno, lo ponga en formato ###-###-####, ya que muchas personas tratan de ingresar el numero interponiendo "-". Seria conveniente que se ponga automaticamente al agregar este campo. Gracias

  • Israel Jotform Support
    Fecha de respuesta 3 de octubre de 2023, 14:22

    Hi Jose,

    Thanks for reaching out to Jotform Support. You can use the Short Text field and use the Input Mask feature to format the input value. Let me show you how:

    • In Form Builder, drag the Short Text field on the form.
    • Click on the little Gear Icon to open the properties.
    • Under the Options tab, select Currency under Validation.
    • Turn the toggle to on position for Input Mast and enter the format.

    How to add separator on a Field? Image 1 Screenshot 20 Screenshot 10

    Give it a try and let us know how it goes.