I am using Required but I want to apply novalidate some inputs

Hello,
from in
I’m using “type=number” and example “12,23” asks me to enter integer, to get around this I use novalidate="" in the form.
However, I need to use required for other input fields.
How to use novalidate="" for specified entries only?

So to allow float points like 12.23 you need to use step attribute

<input type="number" step="0.01" />

read https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#step

1 Like

Thank you
saw my work

Sponsor our Newsletter | Privacy Policy | Terms of Service