2 Replies Latest reply on Oct 3, 2017 6:56 AM by Courtney Grimes

    Removing .mktoFormRow causes conditional logic issues?

    Courtney Grimes

      I currently have a form set up as follows:

       

      Row 1: Question 1, Question 2

      Row 2: Rich Text Area, Question 3

      Row 3: Conditional Rich Text based on Question 1

       

      Now, Question 3 is something I only want to show in a handful of cases, so I'm checking to see if the question is needed, and if not, do a standard jQuery removal of the second row altogether ($(".mktoFormRow").eq(1).remove();). What seems to be happening, though, is that if I remove the second row, it also removes the third row with the conditional rich text. Everything underneath continues to render just fine. Is there some condition where if another row is altered that the conditional logic can't fire? Should I just manually control the visibility of the row?