Hello, I would like to ask for help. I have a date of an event. A client logged in for a current event (date and time). Now I want to set the log out visibility -24 hours before the event. How can I do this through “change visibility” -> “sometimes visibility” ? We tried it “is before” - date and time, but it stil does not work correctly.
Hello Colin,
I tried to wrote you directly “Log out - event” but it was not possible, because there was written “CLOSED 4 DAYS AGO
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.”
I undrestood what you wrote, but why should I create a database, when I already have one? I am just trying to solve the problem withe the log out button. 24hours before the event the button should not be visible.
I’m having the same problem as you getting this to work. I will ask the team what we may both be doing wrong and get back to you with hopefully a solution!
Out of curiosity, I’ve made a small example of showing/hiding buttons. May be this could help?
One important note - the buttons will not appear / disappear automatically - this requires app screen refresh.
@AndreasAyoCruz Sorry no voice in your video, so quite difficult to understand…
Am I correct, that you want to make this button disappear if Current Date is less than 1 day before Datum a Cas?
Then, logically: button should be visible if [current date + 1 day] is less than [datum_a_cas].
So it’s not “1 day ago” like in video, but “1 day from now”, from my point of view.
I tried what you wrote “tomorrow” - “before” - “date and time of the event” - this is not working
I tried “date and time of the event” - “before” - “tomorrow” - this is working, but not correctly, because the button disappears for all the upcoming events
@AndreasAyoCruz
That’s interesting. I’ve tried to change my example to “Tomorrow” instead of “5 minutes from now”, set the deadline for less than 24 hrs, and button didn’t disappear.
However, when I changed the deadline to 23:59 TODAY, the button disappeared.
So it seems that “Tomorrow” is calculated and applied not on hourly basis, but on daily basis. @anon78309838 is it correct?