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!

Did you know that with WEBCON you can automate virtually any process? Even baking cookies 🍪
 
Speaking of cookies: we use the ones that are essential for our website to function properly, as well as additional ones that help us customize our content to your preferences. If you don’t mind cookies, click Accept. If you want to learn more, explore settings.
Settings