Set maximun number to decimal value

  • Profile Image
    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

  • Profile Image
    Richie_P
    Answered on February 21, 2018 at 01: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".

    Here is a screen cast.

    Hope this information helps.

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



  • Profile Image
    billylevine2003gmailcom
    Answered on February 21, 2018 at 01:43 PM
    Thank you
    ...
  • Profile Image
    billylevine2003gmailcom
    Answered on February 21, 2018 at 01:43 PM
    can we prevent submission if there is an error value
    ...
  • Profile Image
    Richie_P
    Answered on February 21, 2018 at 02:18 PM

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

    Here is a sample screen cast.

    Hope this information helps.

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

  • Profile Image
    billylevine2003gmailcom
    Answered on February 22, 2018 at 02:43 AM
    Perfect thank you
    Sent from my iPhone
    ...
  • Profile Image
    billylevine2003gmailcom
    Answered on March 02, 2018 at 07: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
    ...
  • Profile Image
    Richie_P
    Answered on March 02, 2018 at 09: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.

    I have a single number field with a submit button,

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

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

    Here is a sample screen cast.

    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.