Booking with the help of a form

  • Profile Image
    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
    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


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


    Here is my demo form: 

    Feel free to test it and clone it

    Hope this meet what you are looking for.