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

    Conditions to prevent people from double booking an event and directing them to paypal

    Asked by redcorecombat on January 30, 2013 at 12:00 AM

    I have set a condition in my reservation form so that if a person selects a day and time that has been reserved it directs them to another screen telling them this.  Also since I have a bunch of services that can be purchased through paypal I want it to prevent it from letting them getting redirected to paypal and paying if that time and date has already been reserved.

     

    I have my conditions as so.

    If <Date> is before 1/31/13

    If <Date> is after 1/29/13

    If <Time> is equal to 8 am

    If all are true

    then redirect them to a sorry! page.

     

    However it doesn't do it it lets them reserve there event.  Now if I do ANY instead of ALL it works...  Not sure what the deal is (Assuming a reserve my event on 1/30/13 at 8 am, it should tell me sorry! no?)

     

    Also no matter what it seems that it doesnt search for conditions before taking you to the paypal payment screen.  Any way around this?

     

    Thanks,

    Kyle

  • Profile Image
    JotForm Support

    Answered by Welvin on January 30, 2013 at 02:40 AM

    Hi Kyle,

    Setting the condition to IF ALL only works with a separate field. You should used IF ANY instead for the Date Field. Referring to the sorry message, I suggest you to add the Free Text HTML and write the message there and set your condition to show that if the unavailable dates is selected, you can also add the ACTION to hide the submit button if they select unavailable dates.

     

    Thanks