What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

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.


  • Profile Image

    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

    Cheers

    Allan

    purchase ticket ticket purchase purchase widget
  • Profile Image

    Answered by Shadae on April 12, 2015 at 11:05 AM

    Hi Allan,

    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.

    Thank you

  • Profile Image

    Answered by ArmstrongTennisAcademy on April 12, 2015 at 05:18 PM

    Unfortunatedly, it still didn't work.  Anyone have any suggestions

    Thanks

  • Profile Image
    JotForm Support

    Answered by ashwin_d on April 13, 2015 at 01:50 AM

    Hello,

    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.

    Thank you!