On Login Variables
Change Text
These sub-variables is used to change the text context of webflow elements if the user is logged in.
How to use
Avilable Sub-Variables
This will replace the text with the logged in user’s email.
First Name
This will replace the text with the logged in user’s first name.
Last Name
This will replace the text with the logged in user’s last name.
Full Name
This will replace the text with the logged in user’s full name.
User ID
This will replace the text with the logged in user’s user id.
Phone
This will replace the text with the logged in user’s phone number.
Address
This will replace the text with the logged in user’s address.
If value of change-text is not from sub-variables noted ablove, Looop will replace the text with the value of change-text.
Example
- Lets say we want to change the text of a button to the logged in user’s first name. We can do this by adding the following attributes to the button element.
- Now if we want to chnage teh text of same button to to say “Logged in” if the user is logged in, we can do this by adding the following attributes to the button element.