All Collections
Custom User Fields
Custom User Fields

Store custom values in your user profiles

Patrick avatar
Written by Patrick
Updated over a week ago

This article ties in with a few other Frontly articles relating to User Management.

We encourage you to carefully consider and review the options in each of these settings before finalizing your set-up.

User Roles, Groups & Permissions
Users Spreadsheet
Edit Profile

By default, users of your Frontly app will have the following fields:

First Name, Last Name, Email, Password

Custom user fields are extra values stored in Frontly's database with the other user information, allowing this data to be instantly accessible within the user's session using the user variable, like {{ }}.

Setting up Custom User Fields

First, locate the Custom Fields tab in your Users Settings.

To add a new field, click 'Add Field' button.

Each Custom User Field has five options:

Name - The name of the field, used for storage and for reference throughout the app. Changing this will affect any references to this field.

Type - The Type validates the data when user profiles are created or updated, ensuring they meet the correct format. Most fields will be Text, but some situations might require a Select Dropdown, Number, or Boolean (true/false) values.

Default Value - This determines the value that is used when creating a new user. This is optional.

Include in Signup - If the 'Enable User Signup' switch is active in your app's 'Authentication' settings, checking 'Include in Signup' will enable your users to fill this field in themselves when creating an account. User inputted values for this custom field will be stored in Frontly and can be changed by an Admin or Owner of the app.

Editable By User - If 'Enable Profile Editing' has been turned on from your User Settings 'Edit Profile' tab, active users can edit their inputted values for this custom field when updating their profile.

How To Use Custom User Fields in your pages

In fields that support dynamic values, you will see the '+' icon on the right side. When clicked, a list of data sources will appear including 'User':

Once you click on 'User', you'll see a list of available fields, including the default First Name, Last Name and Email fields, as well as any Custom User Fields you've defined:

Once you click on a field, you'll see it injected into the text input in Frontly's 'Dynamic Value' format:

Beyond referencing the custom fields values as dynamic variable for labels, they can be used as data sources for many other functions of Frontly!

Click here to read the full article on Dynamic Variables

Did this answer your question?