Compare Dates

How would you handle comparing 2 date fields on a form, to make sure that the end date is greater than start date?

Have you tried CompareValidator?

From my understanding the CompareValidator only check to see if 2 dates are the same. Can it be adapted to check for one value to be greater than another?

Hi @jheatherington,

Indeed the CompareValidator only checks for equality. We plan to add support for other comparison operators in a future release e.g.<, <=, >, >=. At the moment there isn't a Validator component that can check what you need.

Can you recommend a workaround to allow for checking of dates

You can probably compare the dates with C# when you handle the Submit event.