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

    Looking to make a form for basket raffle

    Asked by zed1274 on May 18, 2017 at 12:21 PM

    The form need to do the following.

    1. needs to collect payment based on number of tickler bought. 

    2. Needs to generate ticket #s based on amount of tickets bought 


    Thanks for the help 

  • Profile Image
    JotForm Support

    Answered by BDAVID on May 18, 2017 at 01:36 PM

    You can use the ticket purchase widget: https://widgets.jotform.com/widget/ticket_purchases 

    See the demo example: https://form.jotform.com/60130611186949 

    Basically, the total is calculated through a Form Calculation widget: https://www.jotform.com/help/259-How-to-Perform-Form-Calculation-Using-a-Widget 

    And the total is passed to the payment field: https://www.jotform.com/help/275-How-to-Pass-a-Calculation-to-a-Payment-Field 

    Let us know if you need more help.

  • Profile Image

    Answered by zed1274 on May 18, 2017 at 03:21 PM

    so when the tickets are purchased how are we getting the ticket numbers?


  • Profile Image
    JotForm Support

    Answered by Welvin on May 18, 2017 at 04:25 PM

    You can configure the ticket options using our payment integrations such as Paypal, so you don't need to configure them manually by the Ticket Purchases and Calculation widgets. 

    In the payment field configuration, you can add an option such as the Quantity box or dropdown.



    As for the ticket number, you can configure the Unique ID widget to generate a unique ticket number for each successful payment: Here's a guide: https://www.jotform.com/help/79-How-to-Add-Custom-Unique-IDs-to-your-Form-Submissions.

    You can also use our Random Value Generator to do it: https://widgets.jotform.com/widget/random_value_generator.

    Please let us know if you need more help.

  • Profile Image

    Answered by zed1274 on May 21, 2017 at 08:24 PM

    ok so with this from I out need a number for each ticket purchased so if they buy 5 then they get 5 ticket. they would need this for one purchase.


    thanks for the help

  • Profile Image
    JotForm Support

    Answered by Chriistian on May 21, 2017 at 09:21 PM

    If you want to use the Random Value Generator Widget, this will allow you to have generated ticket number for each ticket purchase in one submission. For example, if you have 5 tickets, you can generate 5 ticket number.

    However, if you use the Unique ID widget, it will only allow you to generate one ticket number per submission.