Surface any survey creation/edit validation errors that may be within a collapsed accordion menu
Feature request
Is your feature request related to a problem?
Eric noticed that the error message that is triggered by leaving mandatory fields empty within collapsed accordion menus doesn't make it obvious which field isn't valid – you can't see the error unless you open the accordion menu again.
Slack context: https://posthog.slack.com/archives/C034XD440RK/p1716235780884729
Describe the solution you'd like
I think a decent solution would be to just pop open any accordion menus that have validation errors within them whenever the users tries to save the survey as a draft, for example. Seems like a pretty easy way to show existing validation errors without changing the UX of the survey too much. Only downside is that if it's a large survey and there are many validation errors, opening up all of the collapsed menus that contain errors might be a bit of a visual explosion.
Describe alternatives you've considered
Alternatively, we could outline any accordion menu, etc with a red validation error so that the user sees that something looks wrong, and then when they click into it they can see what the problem is.