Conditional Logic field clears when conditions are executed

  • Profile Image
    MoDOTEHP
    Asked on October 12, 2016 at 04:00 PM

    https://form.jotform.com/62765923509162

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

     

    Appreciate any assistance!

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

     

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

    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:

     

    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.