How to display an icon if users birthday in next 7 days

I’m sure there’s a way but I’ve been trying to ages…

My users all have their date of birthday as a field. I want to display a gift icon for the 7 days leading up to their birthday.

Could someone help me with how to set the conditional fields? Thanks in advance.

Assuming you want to accomplish this all in the conditional (and avoid using any hidden inputs), you could try something like:

-When:

User’s DoB: change years to: Current date/time: extract year > Current date/time

AND

User’s DoB: change years to: Current date/time: extract year: +(days): -7 < Current date/time

-This element is visible: yes

Keep in mind that the hour/minutes of User’s DoB field will determine whether or not this conditional evaluates to true on the day of (and 7 days in the future).

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.