Now my question is how to extend event handler such that it does not execute parent event handler.
Here fetch is method it works fine, parent is not executed only child fetch method is only executed when acf.validation.fetch() is called. But submit_form is event handler and both parent and child handlers are executed when submit form event is fired. I can do like $(document).off('submit'); before declaring, but it seems like bad solution.
Thanks in advanced for your replies.
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users