Set maximun number to decimal value

  • billylevine2003gmailcom
    Asked on February 21, 2018 at 11:42 AM

    is there a field for number input where the max can be a decimal value like 3.5

  • Richie JotForm Support
    Replied on February 21, 2018 at 1:01 PM

    Unfortunately, decimal numbers in the Minimum and Maximum values are not allowed.

    However, we can put a show/hide condition that would show an error text when the number is above 3.5.

    First, we add a text "Error" and hide it.

    Then we add the condition, number is greater than 3.5, show the text = "Error".

    Set maximun number to decimal value Image 1 Screenshot 30

    Here is a screen cast.

    Set maximun number to decimal value Image 2 Screenshot 41

    Hope this information helps.

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



  • billylevine2003gmailcom
    Replied on February 21, 2018 at 1:43 PM
    Thank you
    ...
  • billylevine2003gmailcom
    Replied on February 21, 2018 at 1:43 PM
    can we prevent submission if there is an error value
    ...
  • Richie JotForm Support
    Replied on February 21, 2018 at 2:18 PM

    We can set the condition to hide the submit button if the value is greater than 3.5.

    Set maximun number to decimal value Image 1 Screenshot 30

    Here is a sample screen cast.

    Set maximun number to decimal value Image 2 Screenshot 41

    Hope this information helps.

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

  • billylevine2003gmailcom
    Replied on February 22, 2018 at 2:43 AM
    Perfect thank you
    Sent from my iPhone
    ...
  • billylevine2003gmailcom
    Replied on March 2, 2018 at 7:43 AM
    how can I get the hide submit button to work for card view.........the hide
    submit was suggested as a rules when trying to validate a decimal value
    less then a maximum
    ...
  • Richie JotForm Support
    Replied on March 2, 2018 at 9:30 AM

    With the card view, the rules are the same but we can't hide the submit button.However, we can use the ENABLE/REQUIRED FIELD CONDITION.

    Set maximun number to decimal value Image 1 Screenshot 50

    I have a single number field with a submit button,

    Set maximun number to decimal value Image 2 Screenshot 61

    we set the condition  in the ENABLE/REQUIRE FIELD that IF>Number STATE>GREATER THAN TARGET>Value >3.5 DO>Disable Submit> Message.

    Set maximun number to decimal value Image 3 Screenshot 72

    Using the ENABLE/REQUIRE FIELD, we can disable the submit button depending on your condition.

    Here is a sample screen cast.

    Set maximun number to decimal value Image 4 Screenshot 83

    Here is the link to my demo form:https://form.jotform.com/80603391555961

    Feel free to clone it, to test it out.

    -How-to-Clone-an-Existing-Form-from-a-URL

    Hope this information helps.

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