Follow-up on my last post and the mysterious “Enter a URL” message. I scanned my entire codebase and could not find that phrase anywhere, so on a hunch I investigated whether it might be a browser-specific issue, and it appears to be. I’m getting the “Enter a URL” error that is preventing saving in Safari; but if I edit the exact same page in Chrome, it works. Then if I open the page — now containing my
# URL — in Safari and try to save without any changes, it fails with the same “Enter a URL” message again.
It seems to be a browser-specific handling of the new HTML5
<input type="url"> field. Is there a way to customize the
pattern attribute for URL fields in ACF? If so I haven’t seen it anywhere.
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!
© 2022 Advanced Custom Fields.