Hello guys,
Im having trouble because I need to do the following. I have a text which I only want it to be visible only if parent groups thing creation date is bigger or equal to current date or smaller than current date +7 days.
It is probably easy to do but I cant seem to be able to get it right.
Thanks
Judging by your post I think you’ve misunderstood < and > on dates.
If you’re saying creation date > current date it means the thing will have been created in the future which is impossible.
The second condition would be current date + 7 days, also a future conditional if the thing was created within the past seven days. Write out in plain English what you’re trying to do and I can help you with your conditionals.
I think you are spot on Duke, I expressed myself wrong. Basically what I want is to show the text in a range. Creation date creation date +7 days
@duke.severn essentially if the thing is less than 7 days old the text is visible
Hey @paulogustavopeixoto
You can try to make a filter
![34](https://us1.discourse-cdn.com/bubble/original/3X/d/4/d4d415b7d04593fbef3d26e1649e232c082ca5c1.png)
Hope it helps
Regards EzCode Team !
that wont do because in my case this is a repeating group showing a list of things. And I dont want to filter them. The text is only to state if this is a NEW listing or old one. That is why I want to apply that condition.
@eazycode solution is interesting though I have no idea how they plan on tying that to visibility conditionals. This is how I would do it:
![Screenshot%202019-07-08%2005%3A44%3A28](https://us1.discourse-cdn.com/bubble/original/3X/f/6/f668cfe0f8b39227474dc6bcc0635e8213f1ea99.png)
You can do a substraction to find how old it is then set up the conditional. I put in hours in case you want more precision, you might want to use less or equal to, but you get the idea…
1 Like
Yep @duke.severn, great idea !
So essentially your conditional states that if the listing is less than 7 days old than it visible correct?