Question about Input masking

  • glopolito
    Asked on April 25, 2020 at 11:21 PM

    Hello, thank you for the explanation , how cold I mask for example I have an ID field which could be either letters at the beginning and numbers in the rest... i.e. PE-334-571 but could also be 8-1005-1256 or 10-2-234, it could vary the amount of alphanumeric characters you input, the "-" does have to stay... is it possible to mask like that?

  • jherwin
    Replied on April 26, 2020 at 2:41 AM

    The masking format is static so if you have three formats for your ID field, you'll need to create three fields for it.

    1st field = PE-334-571
    2nd field = 8-1005-1256
    3rd field = 10-2-234

    You can then show/hide the fields based on your user's answer: How-to-Show-or-Hide-Fields-Base-on-User-s-Answer

    You can check this demo form: https://form.jotform.com/201161895247053