Looking for more capability (Maybe a new widget)

  • Food_Outreach
    Asked on June 3, 2021 at 2:16 PM

    Hello,


    I am looking to add limits to categories using the inventory widget. Is there a widget that has this feature or could one be made that has a way to limit the amount of items that can be chosen?


    Thank you

  • Jovanne JotForm Support
    Replied on June 3, 2021 at 8:05 PM

    Hi, thank you for contacting support.

    To clarify, do you want to set a limit on the number of items that can be ordered in the inventory widget? If so, you can set up the "Available Quantity" option to limit the maximum numbers of orders and configure the "Quantity Range" to limit the number of orders per order.

    1622764976 60b96db01f4e1  Screenshot 10

    If you're referring to something else, please provide us with more details so we can assist you properly.

    We look forward to your response.

  • Food_Outreach
    Replied on June 4, 2021 at 1:24 PM

    Close but not quite.


    Here is the example:

    We have a section where a person can pick 32 items total from say 4 different categories. Is there a way to set a limit a 32 for that section?

  • Girish JotForm Support
    Replied on June 4, 2021 at 5:20 PM

    Could you provide us the form URL so that we could check further?

  • Food_Outreach
    Replied on June 8, 2021 at 4:59 PM
  • Jovanne JotForm Support
    Replied on June 8, 2021 at 7:17 PM

    Hi, thank you for getting back to us.

    It seems that you are using the Input Table field. You can add the Form Calculation widget to calculate the total items and then copy its value to the number field and set its maximum value to 32. Please refer to the steps outlined below.

    1. Add the Form Calculation widget and configure the formula to add all the items

      1623194008 60bff99898080  Screenshot 10
    2. Add a number field and set the maximum value to 32.

      1623194097 60bff9f1ac7c5  Screenshot 21
    3. Add a condition to copy the Calculation result to the number field.
      GUIDE: how-to-pass-field-value-to-another-field

      1623194185 60bffa493cb48  Screenshot 32

    You can check and test my cloned form here: https://form.jotform.com/211586869829981

    Please give it a try and let us know how it goes.


  • Food_Outreach
    Replied on June 22, 2021 at 1:38 PM

    Awesome! This worked perfectly!

    One last thing, Is there a way to block submission if they exceed the limit in any of the sections?


    Thank you!

  • Jovanne JotForm Support
    Replied on June 22, 2021 at 6:30 PM

    Hi,

    Your next question is moved to a new ticket so we can address it separately to avoid confusion. We will be responding to it via this thread https://www.jotform.com/answers/3176409 shortly.

    Thank you.