CSS code to format a input. Mask to input

  • Cheeseathome
    Asked on March 23, 2018 at 1:07 PM
    I would like help getting a css code to format the following input text with the format 99.999.999 / 9999-99 where "9" means numbers ex. 66.487.836 / 0001-70
  • Richie JotForm Support
    Replied on March 23, 2018 at 2:16 PM

    I'm not sure if I understood your question correctly, do you want to change the mask format from ## into number 9?


  • Cheeseathome
    Replied on March 26, 2018 at 6:45 AM
    There is no mask today. I need to put on a mask. The field is composed of numbers. I need it to be separated by dots, bar and dash. ##. ###. ### / #### - ##.

    examples 25.290.782 / 0001-71 66.487.836 / 0001-70
  • Richie JotForm Support
    Replied on March 26, 2018 at 10:16 AM

    Thank you for clarifying your question. You can put a mask input in your Fixed Format by using this css code:

    #fixedFields{  -webkit-text-security: square !important; }

    Just go to your Widget Settings then Custom css.

    CSS code to format a input Screenshot 30

    Here is a sample output.

    CSS code to format a input Screenshot 41


    Please let us know if we can be of further assistance.