Home › Forums › Bug Reports › "Required" validation won't disable for hidden conditional fields in repeater › Reply To: "Required" validation won't disable for hidden conditional fields in repeater
Hi, I’m still getting this on 5.2.2
When saving the post it says “Validation failed. 1 required field below is empty”.
The only thing I need to do to fix it is checking the checkbox that makes the hidden inputs visible. I’ll then see the error message next to the field. Then I uncheck and hit save again and it will work.
The field in question is a Repeater field which has conditional logic to display if the checkbox is checked (“Stablet”=checkbox, see attachment).
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!
❓Ever wondered when and why ACF uses JSON instead of the database? Check out our summary of the most recent session of ACF Chat Friday for the answer, and make sure to register for the next session.— Advanced Custom Fields (@wp_acf) February 23, 2023
© 2023 Advanced Custom Fields.