Asked • 04/23/19

How can I limit possible inputs in a HTML5 "number" element?

For `<input type="number">` element, `maxlength` is not working. How can I restrict the `maxlength` for that number element?

1 Expert Answer

By:

Derek S. answered • 04/24/19

Tutor
New to Wyzant

Full time Web Developer, Part time Game Designer

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.