I have a form with a drop down box which hides/shows a repeating section.
When it shows, the user can add new sections to it in the normal manner.
If the user changes their minds and changes the value in the drop down to something else. The section gets hidden, however the data would still persist in the form if not viewable in this current view.
I would like to removed the sections that the user added before changing their minds. Can this be done with rules, or would it have to be with code?