Text Field Type

Text Field Type

Text fields capture short text strings up to 255 characters. Use for names, codes, references, and other brief information.

Configuration Options

PropertyDescription
LabelName shown to users (e.g., "Loan Number")
PlaceholderHelper text in empty field (e.g., "Enter loan number")
Default ValuePre-filled text for new orders
RequiredWhether field must be filled
Help TextAdditional guidance below the field

Character Limits

  • Maximum: 255 characters
  • Minimum: 0 (empty if not required)
  • Counter shows remaining characters as you type

Validation

Text fields validate:

  • Required fields: Cannot be empty
  • Length: Cannot exceed 255 characters
  • Format: No format validation (any characters allowed)

For email or phone validation, use those specific field types instead.

Best Practices

Field Labels

  • Keep it short: Under 30 characters
  • Be specific: "Loan Number" not "Number"
  • Use title case: Capitalize Each Word

Placeholder Text

  • Provide examples: "e.g., LN-12345"
  • Keep it brief: Under 50 characters
  • Don't repeat the label: If label is "Loan Number", don't use "Enter loan number"

When to Use Text Fields

Data TypeUse Text Field?
NamesYes
Codes/ReferencesYes
Short descriptionsYes
Phone numbersNo (use Phone type)
Email addressesNo (use Email type)
Long descriptionsNo (use Textarea)

Common Examples

LabelPlaceholderRequired
Loan Numbere.g., LN-12345Yes
Reference Codee.g., REF-2024-001No
Lender NameBank or lender nameNo
Departmente.g., Accounting, HRNo

Related Help