I have a simple form on my website that asks for an event ID, a date and an amount. I would like to make sure that whatever date the user enters is greater than 10 days in the future. I dont want my clients making payments online if their event is less than 10 days out. Once they enter the info, they are directed to a secure website where they can make the payment which was provided by my bank.
Is there a way to check the date on submit or via some kind of javascript that uses the modified object property that would alert the user that the date is invalid?
Any help would be amazing. Thanks! Rich