- sp4i6Asked on June 03, 2017 at 11:05 AM
- JotForm DeveloperHelenAnswered on June 03, 2017 at 11:41 AM
Thank you for contacting us.
As I understood you correctly, you want to put a limit on your registrations. I presume that you are after a widget such as our Ticket Purchases. It will allow you to set up the number of people that you will host and each time space is taken this will be updated.
What this means is that first person will see 60 and if they take 10 places (for 10 people including them) the next person that comes to your Jotform would see "50 left". Of course, you can optimize this to state what you prefer instead.
This guide will show you how to add a widget to your jotform.
Do let us know if you have any further questions along the way as well if this widget is what you were after.
- sp4i6Answered on June 03, 2017 at 12:19 PM
I'm just adding value that are being passed onto a calculation field for a pay pal widget to collect.
I've used single choice questions instead of ticket types.
is there any type of conditional statement or something that says when X choice has been selected Y times, hide field?
Or even send an alert so I can manually hide/remove field?
- sp4i6Answered on June 03, 2017 at 02:35 PM
or is it possible to use Ticket Purchase widget to pass on an amount to the calculation/total field for Pay Pal widget to pick up on?
- JotForm SupportWelvinAnswered on June 03, 2017 at 02:58 PM
I'm sorry, but it's not possible in the form builder. The conditional logic cannot count the number of entries to each field. You can use the ticket purchases in the calculation, but only when allowing single selection. If multiple selections will be allowed in the widget, the calculation will give you a wrong result. Also, you cannot use any numbers in the widget. The number you can add is the price only.
Here's a test form: https://www.jotform.com/71535767776977.
- sp4i6Answered on June 03, 2017 at 03:06 PM
Thanks... so there is basically no way to set limits or turn off registrations except for manually?
- JotForm SupportKevin_GAnswered on June 03, 2017 at 05:43 PM
I would suggest you to try instead to use the either the Quantity Gift Registry or Inventory widget, they will allow you to set available values and will also allow your users to select the quantity they want to purchase, you can then pass this selected option to a calculation value and get a total amount.
Here are the links to the widgets:
If you would need to set up different prices for your products or tickets, you could display only one option in one widget, this way you get the selected amount and you can process the calculation accordingly.
Here is an example like the one provided by my colleague Welvin above, but this form uses the Quantity Gift Registry widget: https://form.jotformpro.com/71536333389967
Feel free to clone it.
Do let us know if you have any question.