Hi,
after reading some posts about input type number I tested different browsers and settings with a simple html form.
Conclusion: The validation of the input type number field depends indeed on the browser, i.e. validation rules vary across browsers. While Firefox applies stricter rules than Chrome, and – as far as I read – Safari.
So, how can I add a radio button in the ACF field settings to choose a lang attribute and then set the input field to it?
Hi,
I also can’t set the step value with a decimal point, but with a decimal comma I don’t get an error message.
It might be a “locale” problem.
I’m just wondering, why it doesn’t work back-end, but outputs as I want it on the front-end site.
I only set label, name, type ‘numeric’ and that it’s required. Everything else is empty.
The front-end output seems to be always with a decimal point.
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.