What is the best way to show a button only to logged-in users?
And vice versa to show a different one only for visitors (not logged-in users).
How can I do that?
What is the best way to show a button only to logged-in users?
And vice versa to show a different one only for visitors (not logged-in users).
How can I do that?
Logged-in user: have screens that are only visible after a user logs in.
Not logged-in user: have screens that are only visible if the user is not logged in.
You have full control over this.
Thanks @charleshope
But how can I control it?
You can add a visibility condition saying that;
show this button only if the user email is not equal to empty; this means that only the logged in users can see it.
If a button to be displayed only for non logged in users: only if the user email is equal to empty;
To simplify I suggest to create different paths or set a verification status in the user database (verified? boolean) that is true only when the user has all the info.
Than create conditions over that value
Thank you!!!