-
AllianceformationDemandé le 29 octobre 2024 à 05:53
Bonjour,
je souhaite avoir la virgule par défaut pour les cases chiffre et non le point, comment faire?
Merci
Serge
-
John Matthew Jotform SupportRépondu le 29 octobre 2024 à 08:31
Hi Serge,
Thanks for reaching out to Jotform Support. Unfortunately, our French Support agents are busy helping other Jotform users at the moment. I'll try to help you in English using Google Translate, but you can reply in whichever language you feel comfortable using. Or, if you'd rather have support in French, let us know and we can have them do that. But, keep in mind that you'd have to wait until they're available again.
Now, going back to your question, do you wish to use a comma for large numbers in your form, and remove the decimals? If yes, you can use the Form Calculation widget to do so. Let me show you how:
- In Form Builder, click on the Add Element button on the left side of the page.
- Under the Widgets tab, drag and drop the Form Calculation widget.
- From the menu that will open up on the right, click on the Function icon and choose Comma Separate.
- Next is click on the Add Field button, and select the field that you want to separate the number with a comma.
To remove the decimal place, here's how:
- From the menu on the right, click on the blue Options button at the bottom.
- In the dropdown, select 0 from Decimal Places in Numerical Result.
- Click on Go Back and finally, click on the Save button.
Check out my result below:
You can check and test my Demo Form if it meets your requirements. You can also Clone it for you to see how I set the Form Calculation widget on my form.
Give it a try, and let us know if there's anything else we can help you with.
-
AllianceformationRépondu le 29 octobre 2024 à 08:45
Hi John,
I just want to replace '.' by ',' whatever the number
(ex: 50.00 into 50,00)
Thank you
-
John Matthew Jotform SupportRépondu le 29 octobre 2024 à 09:04
Hi Serge,
I see, that helped me understand what you're wanting to do. In this case, you can use the Masked Input widget. With this, you can change the decimal separator to a comma. Let me show you how:
- In Form Builder, click on the Add Element button on the left side of the page.
- Under the Widgets tab, drag and drop the Masked Input widget.
- From the menu on the right, enter , (comma) under the Decimal Separator field.
- Finally, click on Update Widget.
Check out my result below:
Give it a try, and reach out again if you have any other questions.