I have a form in a visualforce page where it contains an input number field. In the IE 11 browser users are able to enter invalid characters such as letters and commas. I have tested in Chrome, Firefox, and Opera with these browsers respecting the input number validation.
Image of a user in IE 11 being able to enter a comma and the text "gal" into the input number field:
The issue is that the data is saved to the database in this format with the invalid characters.
Is there a way to provide support for IE 11 to recognize the input as type="number"?
<div class> <input type="number" min="0" onkeydown="return event.keyCode !== 69" class="form-control questTxt" value=""> </div>