Decimal field throwing an error

Kartik Magadum
Kilo Sage

Hello All

We've one decimal type field on form, and when Swedish (Language) user tries to submit the form it through the error like: Ogiltigt decimaltal

 

Note:

1. Except Swedish, No users are facing this kind of error message. 

2. None of the script included "Ogiltigt decimaltal". 

 

KartikMagadum_1-1733736226944.png

 

 

KartikMagadum_0-1733736216706.png

 

Any assistance in resolving the issue would be greatly appreciated. 

Thanks and Regards

Kartik Magadum

 

3 REPLIES 3

Juhi Poddar
Kilo Patron

Hello @Kartik Magadum 

The issue arises due to differences in how decimal numbers are formatted in different locales. In Swedish, a comma (,) is used as a decimal separator instead of a period (.). When a Swedish user inputs a decimal number using their local format (e.g., 10,5), the system may not recognize it correctly if it expects a period as the separator.

You can try to add validation logic to handle both comma and period as decimal separators. For example, you can replace , with . in client scripts or business rules before processing the value.

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps others find the solution more easily and supports the community!"

 

Thank You
Juhi Poddar

 

Basically the error is coming when i try to save the form. 

Hello @Kartik Magadum 

You can try adding validations like converting (,) to (.) before submitting.

 

"If you found my answer helpful, please like and mark it as an "accepted solution". It helps others find the solution more easily and supports the community!"

 

Thank You
Juhi Poddar