Saltar al contenido principal

Sign-up items table

On the application configuration page, use the Sign-up items table to define which fields appear on the registration page. Add, remove, or reorder items to customize the form.

Tabla de Elementos de Registro

consejo

Applications created via the Casdoor SDK get default signup items (ID, Username, Display name, Password, Confirm password, Email, Phone, Agreement). You can adjust them as needed.

Column reference

ColumnValuesDescripción
NameName of the signup item.
VisibleTrue / FalseShow or hide on the registration page.
RequeridoTrue / FalseWhether the field is mandatory.
IndicadoTrue / FalseWhether to prompt the user if they leave it empty.
RegexOptional regex for client-side validation.
LabelFor items starting with Text, use HTML for the field; otherwise replaces the item label.
Custom CSSCSS for this signup item.
ReglaRule itemsRule that customizes this item (see table below).
AcciónMove up, move down, or delete.

Items that support rules: ID, Display name, Email, Agreement.

ItemRulesDescripción
IDRandom / IncrementalUser ID generation: random or incremental.
Nombre para mostrarNone / Real name / First, lastHow to show the display name; First, last shows first and last name separately.
EmailNormal / No verificationNormal = require email verification; No verification = skip verification.
AcuerdoNone / Signin / Signin (Default True)Terms of use: none, require confirmation, or default to confirmed.
nota

Example: to show an email field without verification, add the Email signup item and set its rule to No verification.

Signup Items Table

Tabla de Elementos de Registro

nota

If the organization has "Use email as username" enabled and the username field is hidden in signup items, the user’s email is used as their username.

Field validation

Use the Regex column to validate input on the client before submit:

  1. Set Regex on the signup item (e.g. Username, Display name, or a custom field).
  2. Enter a pattern (e.g. ^[a-zA-Z0-9_]+$ for alphanumeric usernames).
  3. Users see an error when input does not match.

Works for standard fields (Username, Display name, First name, Last name, Affiliation) and custom fields.