Validate and replace special chars

tmntmn

Member
Hi

I've a form with fields that the user fills with decimal number for calculation.

The problem is that in my country it's normal to use "," instead of "." as decimal point. The keyboard even has a different layout for numbers.

So a lot of users types "," which gives wrong calculation results.

I tried to use the build in validate and replace function in the plugin, but it says that forbidden characters should be comma separated.
Obviously ",,," is not working
I want "," ":" "- " to be forbidden and replaced by ".", is this possibly?

best regards

Thomas
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top