Booking with the help of a form

  • Profile Image
    ddemitrius
    Asked on March 21, 2018 at 11:29 PM

    I am trying to ceae a booking with the help of a form.  Could you please advise how I could validate a correct date where the To date is not before the from Date.


    For e.g.if the form says "book from :  (DatePicker)"  and  "Book to : (Date picker)"  how do I ensure that the Date (and time) is not before the (Date From)


    Rgds Derek

  • Profile Image
    BJoanna
    Answered on March 22, 2018 at 05:55 AM

    You can form calculation and conditional logic to show a custom message and to hide the submit button if "end date" is before "start date".

    How to Perform Form Calculation Using a Widget

    1521712247calculation.JPG

    How to Show or Hide Fields Base on User's Answer

    1521712305cond.JPG

    Here is my demo form: https://form.jotform.com/80802276186964 

    Feel free to test it and clone it

    Hope this meet what you are looking for.