Zum Hauptinhalt springen

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.

Anmeldungsartikel Tabelle

Tipp

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

ColumnValuesBeschreibung
NameName of the signup item.
SichtbarTrue / FalseShow or hide on the registration page.
ErforderlichTrue / FalseWhether the field is mandatory.
AufgefordertTrue / 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.
RegelRule itemsRule that customizes this item (see table below).
AktionMove up, move down, or delete.

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

ItemRulesBeschreibung
IDRandom / IncrementalUser ID generation: random or incremental.
AnzeigenameNone / Real name / First, lastHow to show the display name; First, last shows first and last name separately.
E-MailNormal / No verificationNormal = require email verification; No verification = skip verification.
ZustimmungNone / Signin / Signin (Default True)Terms of use: none, require confirmation, or default to confirmed.
Notiz

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

Signup Items Table

Anmeldungsartikel Tabelle

Notiz

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.