Purchase Order: Disable decimal values in purchase order form

  • Profile Image
    Asked on June 11, 2018 at 04:38 AM


    I'm using a purchase order form with 'special pricing' for product options. When I used the quantity data as text box, it should take only whole number values not decimal values.

    For ex, you can Enter 1.5 as the number of shirts you want. This is wrong!

    Please help with a fix!



    Ramkumar G1528706311Screen Shot 2018-06-11 at 2.08

  • Profile Image
    Answered on June 11, 2018 at 11:47 AM

    Hi Ramkumar,

    If you don't want to get input as a decimal number you can use  dropdown option. In dropdown option you can easily change the range for quantity.


  • Profile Image
    Answered on June 13, 2018 at 12:00 AM

    I'm aware of that but If I want, for example, to give an option of 0 to 500, dropdown is an ugly experience. There are cases where I can't have a value bound and I simply need the user to enter directly than scroll through hundreds of items

  • Profile Image
    Answered on June 13, 2018 at 05:06 AM

    Please look at the gif below: 


    You need to use an input mask to not use decimal numbers.

    Please take a look at the following cloned form and see if this works as expected: https://form.jotform.com/81632745923966

    I'll log this thread as a feature request but be in mind that we cannot guarantee if this will ever be implemented.

    If you need any help, let us know.

  • Profile Image
    Answered on June 13, 2018 at 06:24 AM

    Your work around makes no sense for my use case! I've a hundred products not just one, and input masks are not available for purchase order form, they are only for text boxes outside purchase forms! I can't create 100 such boxes!

    Also, there is a difference between a bug fix and a feature request, Request to prevent users from ordering 1.48 shoes or 3.77 T-shirts is not a feature request, It's a bug fix. But, yes, I do understand it might not be your priority.

  • Profile Image
    Answered on June 13, 2018 at 08:47 AM

    Sorry for the confusion.

    Per your request, I've escalated the issue to our developers. 

    If there any update, we will update this thread.

  • Profile Image
    Answered on July 18, 2018 at 02:35 AM


    I fixed the issue.

    When you unselect the quantity field, the value becomes an integer.


  • Profile Image
    Answered on July 18, 2018 at 03:02 AM

    Good to know! Thanks!