What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Implementing more masking symbols.

    Asked by kondratxxx on October 19, 2016 at 10:47 AM

    Hi

     

    I suugest you to implement more masking symbols: you strict input even not allowing user to leave number w/o decimals. For example, Microsoft (possibly) uses 3 number mask symbols for nubers: 0, 9 and #, where 0 stands for 1-digit obligatory input, 9 for 1-digit optional input and # for any digits or +/- sign input. So, for example, if one needs non-empty currency input into numeric field, the mask is "#0.99", "(999) 000-0000" for phone number with optional area code etc.



    This is a re-post of a comment on Getting Started with the Basics of Input Masking

  • Profile Image
    JotForm Support

    Answered by ashwin_d on October 19, 2016 at 01:11 PM

    Hello,

    If I understand your requirement correctly, you are looking for optional input option in masking. Is that correct?

    I believe it is possible to achieve this by ensuring that "Fill Mask Validation" is not checked. Please check the screenshot below:

     

    Do get back to us if you meant to ask something else.

    Thank you!

  • Profile Image

    Answered by kondratxxx on October 19, 2016 at 04:40 PM

    Ok, let's see: there are input masks and validation masks, right? Assuming I need 124 input and display with 2 decimals, the #0.99 input mask iin text field does everything except for boundaries validation. I know I got number field (which is the same text with numeric validation), but there are many cases when normal masking is must.

  • Profile Image
    JotForm Support

    Answered by Chriistian on October 20, 2016 at 02:00 AM

    I believe the Masked Input widget may fit your requirement. This doesn't have the 0, 9 mask from your suggestion, but by using this widget, your users can input the value in the precise format that you specify. Please follow this link to check it out: https://widgets.jotform.com/widget/masked_input 

    If this does not fit your requirement, please let us know.
    Thank you.