How to display negative numbers in the Number field?

  • Profile Image
    lemundibu
    Asked on August 08, 2019 at 06:15 AM

    Hello, 


    Their is a bug on my form : 


    The error message is over the number input field. 

    So it's impossible to write an other number and continue the form. 


    Please find a screen capture

  • Profile Image
    roneet
    Answered on August 08, 2019 at 08:00 AM

    Currently, you have set a limit of 0 on the Number field. If you want to be able to enter negative values too then you can remove the 0 from the limit option:

    15652656301.PNG

    Hope this helps!

    Thanks.

  • Profile Image
    lemundibu
    Answered on August 09, 2019 at 02:43 AM
    Hello,
    no, I don't want to allow negative numbers, that's why I set the minimum to
    zero.
    My problem is when a user puts a negative number, the error message that
    appears in red is displayed *above *the input field and therefore, the user
    cannot change it
    Le jeu. 8 août 2019 à 14:00, JotForm a écrit :
    ...
  • Profile Image
    jherwin
    Answered on August 09, 2019 at 05:14 AM

    We can adjust the using CSS code, please try to inject custom CSS code below into your form:

    .form-error-message {
        top: -40px!important;   
    }

    Guide: How-to-Inject-Custom-CSS-Codes

    Please give it a try and let us know how it goes.

  • Profile Image
    lemundibu
    Answered on August 09, 2019 at 01:43 PM
    thank you, this is working
    Le ven. 9 août 2019 à 11:14, JotForm a écrit :
    ...