I am having trouble with using Validation for the Datepicker (w/ time) in Nintex Form. Basically, I want something like enddate > startdate.
If I use greaterthan rule, it always returns true.
Also happens when I try to use the diffDays, always returns true.
Has anyone done anything similar? Can you please share what you did? Or maybe I'm doing something wrong?
Solved! Go to Solution.
the following formula worked for me (Nintex Forms 2013) for two date/time controls named 'to' and 'from'. The rule is associated to control 'to':
Here is a great post on date validation as well, for anyone interested: How to complete Date Validation using Nintex Forms 2013 Validation Rules.
If someone has answered your question, please mark their response as correct so others know the issue is resolved.
I created two date controls named as Start Date and End Date. I then applied a validation rule to End Date Control to throw an error if Start Date > End Date. When I previewed the form I was able to enter Start Date as10/22/2019 and End Date as10/21/2019. Therefore, the validation rule is not working in my case since I am able to enter the Start Date > End Date. I am using greaterThan() runtime function. Please check the attached screenshots.
Do I need to do anything to the date control or the formula? Or do I need to use a different runtime function?