Skip to main content

Single Line

Single Line fields store short text values like names, emails, phone numbers, and URLs.

View all settings
SettingDescription
Field NameText input, required. Unique identifier for the field.
Input TypeDropdown, required. Choose Text, Email, URL, Tel, Password, Char, or File.
Default ValueText input. Pre-filled value for new records. Not available for File.
Display LabelText input. Human-readable label shown in forms.
Sort OrderNumber input, defaults to 0. Position in field lists.
IconIcon picker. Visual identifier.
StatusToggle, defaults to true. Enable or disable the field.
RequiredCheckbox. Make the field mandatory.
DescriptionText area. Documents the field's purpose.
Form VisibilityDropdown. Show in Add, Edit, or Both forms.
DB Field NameText input. Custom database column name.
Faker TypeDropdown. Generate test data (names, emails, etc.).
Primary KeyCheckbox. Mark as unique record identifier.
UniqueCheckbox. Prevent duplicate values.
Use as IndexCheckbox. Create database index for performance.
Populate from Logged-In UserCheckbox. Auto-fill from user session.
Min LengthNumber input. Minimum characters required.
Max LengthNumber input. Maximum characters allowed.
RegexText input. Custom validation pattern.

Input Types

  • Text — General short text for names, titles, labels
  • Email — Email addresses with built-in format validation
  • URL — Web addresses with URL validation
  • Tel — Phone numbers (no format validation, just semantic)
  • Password — Masked input for sensitive data, stored securely
  • Char — Single character input
  • File — File uploads with size and type constraints

When to Use

Choose Single Line when:

  • Content fits on one line (under 255 characters typically)
  • You need input validation (email, URL, phone)
  • Uploading files or images (File input type)

Choose Multi Line instead when:

  • Content may span multiple lines
  • You need rich text formatting

Settings

See Common Settings for shared options. Single Line supports Primary Key and Unique.

Validation (Advanced Settings)

SettingDescription
Min LengthMinimum number of characters required.
Max LengthMaximum number of characters allowed.
RegexCustom validation pattern (e.g., phone number format).

File Input Type (Advanced Settings)

When Input Type is set to File, validation settings (Min/Max Length, Regex) and Default Value are not available. File-specific options appear instead:

SettingDescription
Allowed ExtensionsRestrict file types (e.g., jpg, png, pdf).
Max File SizeMaximum file size in bytes.
Image Width/HeightConstraints for image dimensions.
Aspect RatioRequired width-to-height ratio for images.

Use Cases

  • Names, titles, and labels (Text)
  • Email addresses with validation (Email)
  • Website links and URLs (URL)
  • Phone numbers (Tel)
  • Secure credentials (Password)
  • Document and image uploads (File)