I am not sure how to show alerts based on dynamic dates.
Example: We have a meeting scheduled on a certain future date, and would like to have a popup alert show a reminder one week before the scheduled meeting’s date.
Are there any tutorials for this type of alert?
Thank you for any help, or suggestions of how to do this.
Got it!
<span class="text-success text-bold" dmx-show="varAlert.datetime.daysUntil(date) > 15">{{varAlert.datetime.daysUntil(date)}}</span>
<span class="text-danger text-bold" dmx-show="varAlert.datetime.daysUntil(date) >= 0 && varAlert.datetime.daysUntil(date) <= 14">{{varAlert.datetime.daysUntil(date)}}</span>
<span dmx-show="varAlert.datetime.daysUntil(date) < 0">0</span>
2 Likes
When the current date gets within 14 days of the meeting date, the ‘Days Until’ will turn red. It was fun!
2 Likes