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

    How to allow users to purchase only if they have previously registered for event?

    Asked by lethe1977 on July 27, 2016 at 06:02 AM

    Hi

     

    Complicated one -

     

    We are selling T_shirts using a Jotform. The form is built and works well, including payment through PayPal.

     

    We run an event, and we only want people who have registered for the event to be able to purchase the T-shirts.

     

    What is the best way to do this? We have no way of generating random codes for people.

    What we do have is the ability to put them all on a spreadsheet, or manually check who is registered and perform an action based on that.

     

    If they buy more than one t-shirt we also need to make sure the other t-shirts are for people who have already registered.

     

     

    Regards,

    Chris

    Page URL:
    http://londonschoolofsamba.co.uk/carnival/2016-carnivals/2016-t-shirt/

    purchase allow event JotForm check all
  • Profile Image
    JotForm Support

    Answered by ashwin_d on July 27, 2016 at 08:56 AM

    Hello Chris,

    Do you mean to say that users have already signed up for event separately and you want to verify the data in a new submission of different form?

    Unfortunately it is not possible to read the previous submission data or the submissions data of different form.

    I would suggest you to please explain the process you want to follow and we will take a look if there can be any workaround to achieve your requirement.

    We will wait for your response.

    Thank you!

  • Profile Image

    Answered by lethe1977 on July 27, 2016 at 09:41 AM

    Thanks - not quite

     

    I mean, we are selling a T-shirt. We only want to allow select people to buy the t-shirt (we have a list of those people). They are allowed to buy on behalf of someone else, but only if those other people are also on our list.

     

    Is there a work around?

     

    A unique code per product ordered?

    A table look up? e.g. they input the name and jotform check's it is on a list?

     

     

  • Profile Image
    JotForm Support

    Answered by david on July 27, 2016 at 11:39 AM

    Depending on how large your list is, you could set up a condition to show your form fields based on the email address entered. 

    For this set up, you would use an email field at the top of the form. then add a form collapse below that email field.  You would then conditionally show the form collapse based on a correct email being entered.  This would require a conditional statement to be set up for each email address.  Here is a bit more information on how to set up something similar:

    https://www.jotform.com/help/297-Show-or-Hide-multiple-fields-at-once-using-form-collapse-tool

  • Profile Image

    Answered by lethe1977 on July 27, 2016 at 12:23 PM

    Thanks for that - appreciated. Unfortunately our list contains about 100 people. :(

    What if we could send them a code and they could use that code?

  • Profile Image

    Answered by lethe1977 on July 27, 2016 at 01:00 PM

    Or is there a script we can use to ask them for a registration number before purchase?

  • Profile Image
    JotForm Support

    Answered by ashwin_d on July 27, 2016 at 02:42 PM

    Hello Chris,

    What if we could send them a code and they could use that code?

    Or is there a script we can use to ask them for a registration number before purchase?

    In both the case, even if the user input the code/registration bumber in form, it needs to be validated from the list of 100 people you have. Is that correct?

    I believe the best option for you to achieve your requirement is to add conditions in your form to match the code and then display the rest of the fields to users. You do not have to add multiple conditions but just one condition to match the code. You can add all 100 codes separated by comma and space in your condition. Please check the screenshot below:

     

    You may also like to take a look at the following demo form I created for you with the approach you should take as per screenshot above: https://www.jotformpro.com/form/62063661635960 

    Feel free to clone this form for a closer look. The following guide should help you in form cloning:  https://www.jotform.com/help/42-How-to-clone-an-existing-form-from-a-URL 

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!