Thanks for your response. I copied your code and updated the following parts to match mine:
I tried to place the code in the allotted text editor for validated fields in admin dashboard and also tried to place it in my functions.php. But it didn’t catch the error. But it can detect some php syntax error.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users