How do I prevent customer from entering a date in the past?

  • Profile Image
    darcyp
    Asked on December 06, 2012 at 07:15 AM

    Hi, I received a booking form from a customer who had mistakenly entered 31/01/2012 for a booking that is actually for 31/12/2012. From my experience of completing forms online, I know that forms generally do not allow you to enter a date from the past. This is particularly the case when booking services online. It's just common sense! So why doesn't jot form have this feature OR is there a way to enable this 'rule'. Thank you for your help.

     

    Regards,

    Padraig D'Arcy

  • Profile Image
    abajan
    Answered on December 06, 2012 at 08:28 AM

    Hi Padraig

    There's no way in the form builder to create a rule to stop users from entering dates before a current date (like one which hides the submit button if a wrong date is entered). If it was a matter of preventing entries before a specific date, that would be a different matter. However, it is possible to use a script to do this but you would have to embed a copy of the form's full source into a web page and add the script there. I'm pretty sure I've seen one of my colleagues recently provide a similar solution for another client. So, if you're okay with going the full source route, please let us know.

    Thanks.