Sounds simple but I've hit a roadblock. I'm looking for a simple rule for field definition that would hide the rest of a form if the a date field was manually entered incorrectly.
For example, I'm using the default formatting of (MMM dd, yyyy) so calendar picked dates should work without issue, however, if someone were to type in "01/01/2020" or "qwerty" I'd want the rule to kick in, hide the form and pop up an error info field. Is there a quick and easy way to do this?
You can validate your date, and it's timestamp property in particular
As the date that cannot be parsed usually is set to January 1st 1970 at midnight GMT (Greenwich Mean Time)
So, you can check if it is larger than that or not (which is 0 timestamp)
Something like this: http://recordit.co/YtTD6AG48G
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events