Re-appearing button on next visit

There is no simple way to base it on “visits”, because most users will be kept logged in, even if they close the app. So the simplest approach is to base it on elapsed time. So for example, let’s say you want to want to show it once every 24 hours.

  • Create a single date/time column in your User Profiles table
  • Create a math column using the formula Now + 1, where now is the current date/time
  • Create an if-then-else column:
    – If date/time column is empty, then true (this covers the case where it’s their first time opening the app)
    Else if date/time is before the math column, then true
    – Else if date/time is before Now, then true
    – Else empty
  • Now use that if-then-else column to control the component visibility, ie. show the component/s when that column is true
  • If the user chooses to dismiss the screen without filling in the form, then use an action to set the date/time column to the value of the math column. This will have the effect of “hiding” it for 24 hours.
  • If you want a shorter or longer delay, just adjust the formula in the math column.

@Himaladin I just re-read what I wrote there and realised there was an error in my logic. I’ve corrected that.

4 Likes