Welcome to Zuora Product Documentation

Explore our rich library of product information

Add your user attributes

Learn how to set up and add user attributes, such as First and Last Name, in Zephr for use in registration forms.

In this section's example, we use the First and Last Name user attributes in our registration form. However, before we can use these user attributes, we must set them up in Zephr.

To set up your user attributes, complete the following steps:

  • Mandatory fields must always be completed when a user is created, whether directly on your site by the end user, using the Zephr API or directly in the Admin Console.

  • You must include any fields that are defined as mandatory in your registration forms. If you do not want end users to provide the related information in all of your forms, Zephr recommends that you do not select the Mandatory checkbox here; instead, make the field mandatory in any form in which you want to collect the information when you create it.

  1. Select Identity > User Attributes from the main menu.
  2. Select the Add a User Attribute button. The Add User Attribute screen is displayed.
  3. Enter First Name in the Label text box.
  4. Select Text from the Type drop-down options.
  5. Optionally, enter a description of the user attribute for internal purposes in the Internal description text box.
  6. Optionally, enter a description of the user attribute to display in the Public description text box.
  7. If the information is required, select the Mandatory field checkbox.
    Note:
    • Mandatory fields must always be completed when a user is created, whether directly on your site by the end user, using the Zephr API or directly in the Admin Console.
    • You must include any fields that are defined as mandatory in your registration forms. If you do not want end users to provide the related information in all of your forms, Zephr recommends that you do not select the Mandatory checkbox here; instead, make the field mandatory in any form in which you want to collect the information when you create it.
  8. Select the Add another checkbox.
  9. Select the Save button. The Add User Attribute screen re-displays.
  10. Enter Last Name in the Label text box.
  11. Repeat steps 4 to 7 above.
  12. Select the Save button. The First Name and Last Name user attributes are added to the Zephr store.