Issue with number field and conditionnal

  • fotobaren_
    Asked on June 14, 2016 at 10:46 AM

    I think that, if we create a number field and a conditionnal can change this number AND also in the condtions, we cannot edit anymore after and field will always be blank.

    (eg: You create a two field number (number1 and number2). You set a conditonnal in one of them(number1) if this field (number1) is higher then field (number2), calc or copy a value (number2) to number1.

    From the form url: page 2 (event) ventetimer2 (you have to set 5:00 in the Slutt field before)

     

  • David JotForm Support Manager
    Replied on June 14, 2016 at 1:07 PM

    I am not sure what you are trying to accomplish here. Please specify which field value should be copied to field "Ventetimer2":

    Issue with number field and conditionnal Image 1 Screenshot 20

    I would recommend you to use the Form Calculation widget if you want to capture another fields value: https://www.jotform.com/help/259-How-to-Perform-Calculation-in-the-Form 

  • fotobaren_
    Replied on June 14, 2016 at 1:23 PM

    I want to copy maxVente. When user enter a higher number that maxVente in Ventetimer2, i want the field to copy maxVente is the ventetimer2 field (and show the current message in red).

    So user cannot go over the maxVente number (this will be a hidden field). Yes i can only show a message, but that's don't prevent user to go over.

  • David JotForm Support
    Replied on June 14, 2016 at 2:54 PM

    Though there is no way to conditionally set a maximum value, you could prevent the user from proceeding through the form without having your condition met.  Adding a page break after the Ventetimer2 field and only showing it if the value in Ventetimer2 is less than maxVente would require the value in Ventetimer2 to be lower in order to go to the next page.  You could also do this with a form collapse.

    If you have a specific value, you can set minimum and maximum values for number fields:

    Issue with number field and conditionnal Image 1 Screenshot 20

  • fotobaren_
    Replied on June 14, 2016 at 3:51 PM

    I cannot set max value because this value change for each user (based on others choices) But i will try the conditionnal show for page break.

  • David JotForm Support Manager
    Replied on June 14, 2016 at 5:26 PM

    Let us know how it goes, we will be glad to assist you.

  • David JotForm Support Manager
    Replied on June 14, 2016 at 5:27 PM

    Let us know how it goes, we will be glad to assist you.

  • David JotForm Support Manager
    Replied on June 14, 2016 at 5:27 PM

    Let us know how it goes, we will be glad to assist you.

  • David JotForm Support Manager
    Replied on June 14, 2016 at 5:27 PM

    Let us know how it goes, we will be glad to assist you.

  • David JotForm Support Manager
    Replied on June 14, 2016 at 5:27 PM

    Let us know how it goes, we will be glad to assist you.