JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
The Ticket Purchase Widget-how do use it?Asked by ArmstrongTennisAcademy on April 12, 2015 at 04:07 AM
Hi Jotform Team:
I have set a form using the "ticket purchase" widget. I used it for the registration of the classes offered. I believe that I have set it up properly to show the number of spaces available (which is what I want). However, what I want also to happen is that when someone clicks on a particular session, the number of spaces available reduces accordingly. Is there a way to do this without redoing the form?
Please advise. Here is the link to my form. https://secure.jotformpro.com/form/50957264499976
Thanking you advance for your help
The widget will automatically change the amount of spaces that are left whenever your form is submitted and loaded once again.
You would however need to place an API key within the widget to allow for your submission information to be read.
Please view this guide one how to create an API: http://www.jotform.com/help/253-How-to-Create-Jotform-API-Key
I hope this helps, please inform us if you need further assistance.
Unfortunatedly, it still didn't work. Anyone have any suggestions
I'm sorry for the trouble caused to you.
When you say that it does not work, do you mean to say that the available count does not decrease?
I did test the "Ticket Purchases" widget in my demo form and it seems to work as expected. The available count did reduce after successful submission. Please check the screenshot below:
When I tested your form, it does not seems to work. I am not sure if you have added the correct API key. I copied one f the API key of your account and added it in the Ticket Purchases widget of your form. That seems to have resolved the issue and the available count of the ticket purchases widget is reduces after submission. Please check the screenshot below:
Do test your form and get back to us if the issue persists.