Conditional Logic field clears when conditions are executed

  • MoDOTEHP
    Asked on October 12, 2016 at 4:00 PM

    https://form.jotform.com/62765923509162

    Bridge field clears when it populates the other two following fields.

     

    Appreciate any assistance!

  • jonathan
    Replied on October 12, 2016 at 11:37 PM

    I was able to see the issue when I test your form https://www.jotform.com/62765923509162

    Conditional Logic field clears when conditions are executed Image 1 Screenshot 40

     

    I found that it was being cause by the condition rules you have setup on your form.

    Conditional Logic field clears when conditions are executed Image 2 Screenshot 51

    Because you have set the condition rules to use the Bridge Number 2x on the same instance to update to the other 2 fields, the 2nd update condition was causing the initial value of the Bridge Number field to disappear. Because the update script was refreshing the field.

    The correct way is to have the 2nd rule applied instead to the 'County' field. 

    Example:

    Conditional Logic field clears when conditions are executed Image 3 Screenshot 62

     

    I do see the hassle in updating all these condition rules now because there were 1000+ condition rules you have created. I could not find any other way to workaround this though.

    We actually do not recommend using the Condition tool in such way. Not only it is difficult to manage, it also have performance penalty on the online form due to processing of the script conditions if there were a lot of them.

    I'll also investigate more what can possibly be done to make the update simpler. Perhaps I can find a way. I'll update you here for any news.

    Thanks.