Check Date and time is from future or not in mendix native

0
Hi All, I want user to enter date and time. But date and time should not be from future. If user enters any future date and time, it should display error message. How to validate that date and time is from future or not?   Please help me out as it is very urgent.   Thanks, Trishla
asked
1 answers
0

Create a nanoflow where you check $someDateTime <= [%CurrentDateTime%]. Since the nano flow always runs after the user has entered the date/time this should work.

Regards,

Ronald

 

answered