Skip to main content

Number Responses

Number responses allow reviewers to input precise numeric values with customizable validation. They’re perfect for collecting prices, quantities, measurements, scores, or any numeric data that requires accuracy and consistency.

When to Use Number Responses

Number responses are ideal for:

Pricing & Financial

Setting product prices, budget amounts, cost estimates, or any monetary values requiring precision

Quantity & Inventory

Counting items, setting stock levels, capacity planning, or any discrete numeric quantities

Measurements & Metrics

Recording dimensions, weights, distances, performance metrics, or scientific measurements

Scoring & Calculations

Custom scoring systems, weighted calculations, or complex numeric evaluations beyond simple ratings

Configuration Options

Number responses support extensive validation options:

Required Parameters

max_value
number
required
Maximum allowed value (inclusive)

Optional Parameters

min_value
number
default:"1"
Minimum allowed value (inclusive, can be negative)
decimal_places
integer
default:"2"
Number of decimal places allowed (0-10)
allow_negative
boolean
default:"false"
Whether negative numbers are permitted
required
boolean
default:"false"
Whether a numeric value is mandatory for completion

Implementation Examples

Product Pricing

Price input with validation:

Inventory Quantity Assessment

Whole number inventory count with no decimals:

Scientific Measurement

High-precision measurement with decimals:

Budget Allocation

Financial planning with negative values allowed:

Response Format

When a reviewer enters a number, you’ll receive the numeric value:

Use Case Examples

1. Product Pricing Decision

2. Inventory Management

3. Performance Metrics

Validation and Error Handling

Automatic Validation

The mobile app automatically validates number responses:
  • Type validation: Ensures input is a valid numeric value
  • Range validation: Checks value falls within min_value and max_value bounds
  • Decimal precision: Enforces decimal_places limit
  • Required validation: Prevents submission when required=true and no value provided
  • Negative number handling: Blocks negative values when allow_negative=false

Server-Side Validation

Your application should validate received numbers:

Best Practices

Configuration Design

  • Use min_value and max_value to prevent obviously incorrect entries
  • Consider business context (e.g., product prices can’t be 0.01or0.01 or 10,000)
  • Allow some buffer beyond expected range for edge cases
  • Test bounds with actual users to ensure they’re not restrictive
  • 0 decimals: For counting, whole quantities, percentages as integers
  • 2 decimals: For monetary values, most business metrics
  • 3+ decimals: For scientific measurements, precise calculations
  • Match precision to the business need and reviewer capability
  • Use descriptive request text to clarify what’s being measured
  • Provide clear instructions about units or context in the request
  • Consider the context and units when appropriate
  • Always provide sensible default_response values
  • Consider what happens with boundary values (min/max)
  • Plan for negative values when allow_negative=true
  • Test with various input methods (typing, copy-paste)

Processing Best Practices

Common Patterns

Dynamic Range Validation

Aggregate Calculations

Next Steps

Boolean Responses

Learn about simple true/false decision workflows

Text Responses

Combine numeric data with detailed explanations

Response Validation

Advanced techniques for validating and sanitizing numeric input

Mobile Experience

See how reviewers interact with number inputs on mobile devices