I need my clients to provide their height with decimals

  • AlianzaSeguros
    Fecha de consulta 25 de julio de 2024, 14:01
    Another question has come up. I need my clients to provide their height, but I require the value to be numeric with decimals. Could you please guide me on how to do that?
  • Alejandro Jotform Support
    Fecha de respuesta 25 de julio de 2024, 15:08

    Hi AlianzaSeguros,

    I noticed that in one of your forms you have set up a number element to request weight and height, however, if you want to add decimals, it is easier to use a short text field. You can apply an input mask with a fixed decimal separator comma, and validate only numeric values. Let me show you:

    • On Form Builder, add a Short text element to the form, and click on the pencil icon next to it to open its properties.
    • Go to the Options tab, select the numeric option in the Validation section, and then set up the input mask the following way:

    I need my clients to provide their height with decimals Image 1 Screenshot 30

    This would be the result:

    I need my clients to provide their height with decimals Image 2 Screenshot 41

    You can also find a Height converter widget and a Body weight converter widget in the form builder that you can try out if you'd like. Here is the URL of the test form I used so you can clone it and check out the configurations on your end.

    Give it a try and feel free to let us know if you have any other questions.

  • AlianzaSeguros
    Fecha de respuesta 26 de julio de 2024, 8:44

    Hi, Alejandro

    I wanted to let you know that with your help, I was able to input the numerical values with decimals.

    Thank you!

Su respuesta