Preventing commas in number field

By: Brad Sperr | Asked: 04/20/2023
ForumsCategory: General questionsPreventing commas in number field
Brad Sperr asked 12 months ago
I have a form that gathers financial information from clients using number fields.  Several clients have been inputting commas into the number field as a thousand separator, which creates an error.  My understanding is that this "type=number" input shouldn't be able to accept a comma, and I can't recreate the error when I fill out the form.  Does anyone know why my clients may be able to put commas into a number field and how I can prevent it?

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right