Multiple conditions being met causing the form to freeze

  • Profile Image
    huddleinc
    Asked on April 09, 2019 at 10:00 AM

    Anytime I put the number 1 in a certain field on my form, it completely locks up and will not refresh. I have to close the tab on the form and the tab with the form builder pulled up and reopen everything. Any ideas?

  • Profile Image
    david
    Answered on April 09, 2019 at 12:08 PM

    There are quite a few conditions being met simultaneously and all the conditions being met are trying to fill the same couple of fields.  In your example of entering 1 in that field, at least 3 different conditions would be met:

    1554825787Capture.PNG

    1 is equal to 1, 1 is less than 250 and 1 is less than 500 so all 3 of those conditions would be attempting to populate the field with different values.  To prevent this, insert an additional statement for each condition to cover the range of values.  So instead of just if less than 500, add if greater than 249, then set to all need to be met.  It would only trigger if the value was over 249 and under 500, rather than triggering for any value less than 500.

  • Profile Image
    huddleinc
    Answered on April 09, 2019 at 01:12 PM

    Thanks! That fixed it.

    Any idea why the form is not loading in Safari?
  • Profile Image
    BDAVID
    Answered on April 09, 2019 at 02:27 PM

    Your new question will be addressed in the following thread: https://www.jotform.com/answers/1787667