Home › Forums › General Issues › URL Field Validation › Reply To: URL Field Validation
Hello,
I just faced a case like this and this worked with me
add_filter('acf/validate_value/key=field_5d3c9ebc8acdd', 'disable_field_validation', 999, 4);
// you can change key with name or type=url.
function teasdasdad($valid, $value, $field, $input ) {
// Also you can write your own validation here.
return true;
}
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.