You could use the datepicker functions from the jQuery UI library. It has an option that allows the user to pick a start- and an enddate and it allows only to select an enddate that’s after the startdate.
Then you’ll have to search for a snippet (or write one yourself) that checks the difference in entered dates onsubmit. Convert the dates to unix timestamps, subtract the enddate from the startdate and as long as the result is greater than 0, everything is fine.
Viewing 4 posts - 1 through 4 (of 4 total)