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

    I am using a masked input field and users may have a negative number to enter, how can I modify the masked field to allow a negative number input?

    Asked by jcoste on September 29, 2016 at 11:26 AM
    Page URL:
    https://form.jotform.com/62715057162958

  • Profile Image
    JotForm Support

    Answered by EltonCris on September 29, 2016 at 01:21 PM

    You should probably use * on the first line so it accepts either both, letters/symbols for the negative sign and numbers if they intend not to enter negative numbers.

    You can also use the number field, it accepts negative numbers.

    Hope this helps!

  • Profile Image

    Answered by fntgflorida on September 29, 2016 at 01:29 PM

    How can this be applied to the Masked Input Widget

  • Profile Image

    Answered by jcoste on September 29, 2016 at 02:53 PM

    Elton, Thank you for your response, I would like to clarify my original question, How do I modify the "Masked Input Widget" to allow the user to enter a negative dollar value? 

     

    I would like to keep the figures entered to show as currency and include comma if the user enters figures that exceed 999. The widgets contains the desired formatting controls but is lacking the ability to allow the form creator to decide if we wish the form user to enter both positive and negative numbers.

     

  • Profile Image
    JotForm Support

    Answered by david on September 29, 2016 at 06:42 PM

    It is not possible to do with the masked input widget at this time.  The widget only allows for very specific formatting.  Using a number or text box field as my colleague suggested would allow for further formatting. 

  • Profile Image

    Answered by jcoste on September 30, 2016 at 11:13 AM

    FYI-  I think you almost have what I need and is it possible to allow formatting when manually entering data into the "Calculation Wizard Widget". Would you be able to modify the "Calculation Wizard Widget" it appears this one allows a negative number and currency symbol to be entered or formatted but the formatting becomes a manual input if not pointing to another input field.  I want to avoid using multiple fields to get the outcome desired. See image below.

  • Profile Image
    JotForm Support

    Answered by david on September 30, 2016 at 12:26 PM

    Your set up does look to likely be the best route to take to get the formatting you are looking for.  You can hide the extra fields from view and rename your calculation fields to what the unformatted fields were named previously.