Champ numérique

  • LePeps
    Demandé le 4 juin 2025 à 10:47

    Bonjour,

    J'ai des calculs à effectuer, mais en cas de décimales,
    si l'utilisateur utilise le signe , au lieu du signe .

    par exemple 1,234 au lieu de 1.234

    les calculs deviennent faux.

    Comment passer ces champs en numérique ? sinon, comment faire ?
    Merci.

    Igor

    Jotform Thread 27626081 Screenshot
  • Reymae Jotform Support
    Répondu le 4 juin 2025 à 11:14

    Hi LePeps,

    Our French Support agents are busy helping other Jotform users right now, so 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, it might take a while until they're available again.

    Now, coming back to your question, currently, we can't limit the answer on an Input table to use a period (.) instead of a comma (,). As a workaround, you can use the Basic form elements instead such as Short Text field then we can use Input Mask to restrict the answer's format. It's really easy to do. Let me show you how:

    1. While in Form Builder, click on Add Element on the left side of the page.
    2. In the Form Elements menu, under the Basic tab, scroll down the list and choose the Short Text field and drop it to your form.
    3. Click the Gear icon and go to Options tab to enable and set up the Input Mask feature.

    Champ numérique Image 1 Screenshot 30 Check out the screencast below to see how it works: Champ numérique Image 2 Screenshot 41 Give it a try and reach out again if you have any other questions.

Your Reply