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

  • lethe1977
    Asked on July 27, 2016 at 6: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

  • Ashwin JotForm Support
    Replied on July 27, 2016 at 8: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!

  • lethe1977
    Replied on July 27, 2016 at 9: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?

     

     

  • David JotForm Support
    Replied 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

  • lethe1977
    Replied 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?

  • lethe1977
    Replied on July 27, 2016 at 1:00 PM

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

  • Ashwin JotForm Support
    Replied on July 27, 2016 at 2: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:

    How to allow users to purchase only if they have previously registered for event? Image 1 Screenshot 20

     

    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!