Home > Forum > Actions > Item list setting background color based on Date diff

Item list setting background color based on Date diff
0

Hello all,

I trying to set up a form rule that sets the cell background based on the days difference between a column date and today's date.
This only works after clicking on the save but I want the background to be set as soon as they define the Date column.
Probably this will only work with Javascript functions but I don't have any experience with that.

I want to create an alert if they select a date where the difference is less than 2 days. If I could also display some text, it would be great, but if the only option is the background color, it's also fine.

At the moment I have the form rule set on callback inside the item list configuration.

Thank you!

Privacy overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognizing you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.


To see a full list of the cookies we use and learn more about their purposes, visit our Privacy Policy.