Limit number field to one decimal only

Hi,

I have a number field in which customers will enter a measurement. How can I limit it to one decimal only? I know I could use a text field with a mask, but a) if I’m right I cannot use it with calculations and b) I am already many many fields into development. :slight_smile:

Thanks so much.

Hi Noelle. You can use single line text field with the input mask, to force 1 decimal place. Then, add a number field with the calculation enabled, and then use your two text fields (with the numbers entered) in a calculation in the number field. I did that here:

If you have any questions about the setup, please let me know.

1 Like
© 2008 - 2021. Gravity Forms is a project by Rocketgenius Inc.