Check and set date on a calendar


Im trying to show a calendar that has todays day highlighted, im getting a bit stuck on how to apply logic in RP9.

I’ve created the default/hover/selected states, I just need the page onLoad to check todays day and then apply the selected state to the correct day in the calendar

Any help/alternative approaches appreciated

date.rp (67.1 KB)

A solution :
date.rp (48.8 KB)

For a the best result you must use the Repeater.

You set this “OnLoad” interaction inside your ellipse object :
Case : If [[This.text]] equal [[Now.getDate]]
Interaction : Set Selected/Checked This to true

And it’s work :wink:

1 Like

Thank you very much for that, really helpful and exactly what I was after