Home › Forums › Feature Requests › Switch to tab on validation › Reply To: Switch to tab on validation
There could be multiple validation errors across multiple tabs, but I agree with what I assume is the basis of followalter’s suggestion: it can be difficult to locate a validation error when there are many fields, particularly when there are accordions and tabs.
So a related suggestion: list the label of each field that fails validation in the “components-notice” at the top of the page.
I just wrote a script that does this and, as usual, it took me longer than I would like to get it right.
It would be great if this were built into ACF, so you know immediately which field(s) failed validation before hunting through tabs and accordions.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.