using javascript:condition in the "Value field" of "Field Styles : what syntax can i use to compare two date
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2018 06:50 AM
Hi All,
I want to defined a style by using javascript:condition in the "Value field" of "Field Styles" to set the background color. i don't what is the right syntax to compare two .
Exemple :
In a task i want a red color in a list if closed>due-date and a green color if closed<=due-date
Thanks & Regards,
Isabelle
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2018 06:58 AM
Can you add both the styles and try it out? The one for green and the one for red color?
Note: The first date should be the start date and the second one the end date.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-08-2018 08:31 AM
Have you checked?