Docs & Tutorials

TextBox Field

Text Field

The Text Field is the most common field type in NileDesk. It allows users to enter letters, numbers, special characters, and symbols from any language. Text fields can handle simple inputs like names or multi-line entries such as comments and descriptions.

Properties

Configure the Text Field to fit your requirements. Key properties include:

  • Field Title: Display name shown on the form.
  • Field ID: Unique identifier for internal references and expressions.
  • Lines: Choose the visible height of the field (single-line or multi-line).
  • Computed Value: Automatically calculate field content using expressions.
  • Validation: Add rules to enforce data accuracy and consistency.

Field Settings

Lines

Controls the visible height of the input area. Determines how many lines of text are shown by default. The field remains scrollable if the input exceeds the visible size.

Computed Value

Computed Values allow dynamic generation of field content. You can:

  • Reference other fields by ID (e.g., [FieldID]).
  • Perform arithmetic operations (e.g., [Amount] + 2).
  • Use string functions (e.g., .ToUpper(), .ToLower()).
  • Leverage built-in functions for advanced calculations and formatting.

See expression details here →

Validations

Text Fields support 13 validation rules to ensure data quality:

  1. Max. Length: Limit input to a maximum number of characters.
  2. Min. Length: Require a minimum number of characters.
  3. Equal To: Must match a specific value, field, or expression.
  4. Not Equal To: Must not match a specific value, field, or expression.
  5. Contain: Must include a specified sequence of characters.
  6. Does Not Contain: Must not include a specified sequence.
  7. Email Format: Must follow a standard email format.
  8. URL Format: Must follow a valid URL format.
  9. Letters Only: Only alphabetic characters allowed.
  10. Numbers Only: Only numeric characters allowed.
  11. Start With: Must begin with a specified sequence.
  12. End With: Must end with a specified sequence.
  13. Regex Expression: Custom validation using a regular expression.

Enabling Unique Value in Process ensures the field’s value remains unique across all items within the same process.