Number Field Type
Number Field Type
Number fields accept only numeric input, ideal for amounts, counts, and other values used in calculations.
Configuration Options
| Property | Description |
|---|---|
| Label | Name shown to users (e.g., "Loan Amount") |
| Placeholder | Helper text (e.g., "Enter amount") |
| Default Value | Pre-filled number |
| Required | Whether field must be filled |
| Help Text | Additional guidance |
Validation
Number fields validate:
- Required fields: Cannot be empty
- Format: Must be a valid number
- Decimals: Supports decimal points
- Negatives: Supports negative numbers
Input Behavior
- Keypad: Shows numeric keypad on mobile devices
- Decimals: Users can enter decimal points
- Formatting: No automatic currency formatting
- Range: No minimum/maximum limits
Best Practices
When to Use Number Fields
| Data | Use Number Field? |
|---|---|
| Monetary amounts | Yes |
| Counts/quantities | Yes |
| Percentages | Yes |
| Phone numbers | No (use Phone type) |
| ZIP codes | No (use Text type - may start with 0) |
| IDs with leading zeros | No (use Text type) |
Label Naming
- Be specific: "Loan Amount" not "Amount"
- Include units if helpful: "Square Footage", "Document Count"
- Avoid currency symbols: Don't use "$" in label (users may enter other currencies)
Placeholder Examples
| Label | Good Placeholder |
|---|---|
| Loan Amount | e.g., 250000 |
| Document Count | e.g., 15 |
| Square Footage | e.g., 2000 |
Common Examples
| Label | Use Case |
|---|---|
| Loan Amount | Mortgage or loan principal |
| Property SqFt | Square footage of property |
| Document Count | Number of documents |
| Year Built | Property construction year |
| Borrower Count | Number of signers |