Hey guys, I have two dropdowns. They both have somewhat complex conditionals where if one is displayed the other isn't.
I also have a hook for the form submission that gets the form object (and the elements). The issue is that I only want to pull from the dropdown that was visible when the form was submitted (the one whose conditionals were met).
So is there any way to determine if an element's conditionals were met so that I would know which of the two elements was visible when the form was submitted?
Thanks