Quick Start | SA5 User Accounts
How to Easily Add SA5's User Info & Advanced Routing Enhancements to Your Webflow Memberships Site
Last updated
Was this helpful?
How to Easily Add SA5's User Info & Advanced Routing Enhancements to Your Webflow Memberships Site
Last updated
Was this helpful?
IMPORTANT We've made some enhancements to SA5 Core in v5.5.0. If you are already using other SA5 Libs, please make certain to upgrade them to at least v5.5.0 as well to ensure cross-compatibility.
to the site wide custom code HEAD area of your site.
Once you've added the library, both the and the features are available to use.
The User Info library can be considered as 3 feature sets.
Basic user info like name, email, and opt-in is automatically accessible once the library is installed.
User info works automatically behind the scenes, and gathers data when a User first logs in.
For example, this custom attribute setting on an INPUT element will data-bind the user's email;
wfu-bind
= $user.email
Users who are already logged in will need to log out, and log in again in order for the library to refresh their data.
We use the same library above for this module.
However it requires configuration which is done through a configuration callback.
Add the custom attributes for the features you need, described in each feature separately.
requires special setup on your /access-group
page. Make sure to read that section if you want to access that data.
also requires a special setup. Make sure to read those pages if you want access to your access group data.
To access User Info, you can use the on an element, such as a form field. Add a custom attribute of wfu-bind
with the you want to the element you want data-bound.
See SA5's full list of data source descriptors for here.
If you want to use the user's info in custom code, use the , and you get the full .
See here for the code to .
For SA5 library developers, use the extended syntax to support .