Alert or custom validation?
I found the documentation to retrieve the errors, and the one to add stuff to the admin… but is there a hook to validate one of my own fields?
If not, is adding my own JS to the admin scripts the closes way to accomplish?
I need to remind the user that editing some field will break things and wait for confirmation.
Thanks.
Hi @sergiozambrano
Yes, you can do custom validation for your field using acf/validate_value
filter. Here is the link to its documentation: http://www.advancedcustomfields.com/resources/acf-validate_value/