Can you restrict a form value to be in increments?

  • COEDist
    Asked on June 3, 2019 at 11:51 AM

    I have a form field that I need my customer to order in quantities of 50. Is there a way for me to prevent them from putting a value in the field like 51, 52, 53, 54 etc? I need the value to be 50, 100, 150, 200, 250 etc.

  • Kiran Support Team Lead
    Replied on June 3, 2019 at 1:11 PM

    You may consider using Spinner field in order to achieve your requirement.

    155958187403062019 220656 Screenshot 10

    You may set the Stepping value in the field properties.

    155958183103062019 220606 Screenshot 21

    Thanks!

  • COEDist
    Replied on June 3, 2019 at 1:55 PM

    Hello Karin,

    Thanks so much for your advise.

    I have many conditions I have set-up with this field (short text) so far. Is there a way to change the field type from (short text) to (Spinner) rather than replacing entirely?

    The form field that I have now has conditions that are based on quantity ordered, so let's say you order between 50-200, the price is $5.00 ea., if you order 250-350, price is $4.00, so on and so on...

  • Richie JotForm Support
    Replied on June 3, 2019 at 3:15 PM

    Unfortunately, there is no option to transfer the conditions in your short text to the spinner field.

    Can you please share to us the form in question?

    We will wait for you response.