[FORM] Numeric input accepting german decimal


I have a form with an input element for numeric values, ie. validation property is set to “numeric”.

How can I allow german comma instead of point for the decimal separator so for example the value “1,23” does not throw an error and is interpreted as “1.23”?

Thanks in advance.


Unfortunately the “numeric” calidation uses common js format of numbers. In case of the specific locales I can suggest you to create a custom validation ruleusing your own function: