Disable form: Can you disable a form based on a counter?

  • davidyatir
    Asked on February 8, 2021 at 2:11 PM

    Hi

    I see that it is enable to disable a form based on number of submission.

    Problem is I use a form to register participants to an event and I want to limit the form according to number of participants and not number of submissions...I have a field in the form where the user can choose "1" or "2" participants...

  • Laura JotForm Support
    Replied on February 8, 2021 at 7:14 PM

    Hi,

    Unfortunately, it is not possible to disable the form based on a specific field.

    However, as a workaround, you could use either the Ticket Purchases or the Inventory widget.
    With the widgets, you can restrict the total amount, and once the tickets have ended, the users cannot submit the form anymore. You can set the tickets or the products to be whatever you like, and you do not necessarily have to set a price on them.

    Related guide:
    How-to-add-a-widget-to-your-form

    Please see if either one of the widgets could work for you.

    Best Regards,

  • davidyatir
    Replied on February 9, 2021 at 1:22 AM
    Great! Ill definitely try that and let you know
    BR
    Assaf
    ...
  • davidyatir
    Replied on February 9, 2021 at 2:11 AM
    OK so I tried the Inventory widget, I think I understand how to handle
    it...but the issue remains how to associate the widget to the PayPal
    payment object? I guess that somehow the user needs to choose a quantity in
    the widget and then somehow the widget passes this quantity to the payment
    field?
    BR
    Assaf

    ...
  • Mike_G JotForm Support
    Replied on February 9, 2021 at 3:41 AM

    I have moved your new concern to a new ticket considering it is about a new topic.

    Here's the link to the new ticket: https://www.jotform.com/answers/2884668

    We will be responding to that ticket shortly. If you have any follow-up questions about the new topic, please refer to that ticket to avoid confusion.