Jump to content

how to compare dates?


This topic is 6599 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

hi all!

let say i have 2 fields. 1 is creation date(it will automatically fill the current date). and another 1 is due date (drop down calendar)

what i wanna do is, if someone choose a date from the calendar which is before the current date, custom dialog will appear...

but i donno how to do it..

someone help me plz

Link to comment
Share on other sites

Hi

to show a custom dialog you'll need a plugin.

But to show a custom message, the lonely thing that you have to do is to insert this calc into the validation option of the field "dueDate":

dueDate ≥ creationDate

and flag the "display custom message" box.

(naturally you'll have to enter your custom message !)

Link to comment
Share on other sites

This topic is 6599 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.