Validation on datetime picker

Hi How can i make a validation on a date time picker that you can not select (Save) on the current date or previous date Example today is 2012/10/23 and if i select today's date i show have an error message and any day that is less than today an error message should pop out is this possible and should i use a microflow or can the xpath work
1 answers

You are best of to create a microflow that does a check on dateAttribute > [%CurrentDateTime%] if this is false then show validation feedback.

You can trigger this microflow either on the onChange of the date selector to give direct feedback or on a custom save button. You could also trigger this microflow on a before commit event of the object, but in this case i don't think i would obt for that as this is not something that should always be true.