Equation Fields in Forms
Form views can display read-only equation fields that calculate values automatically. When you include the source fields used in the calculation, these equations update in real-time as users enter data in your Live App.
In this article you will learn:
- How equation fields update in real-time within form views
- Requirements for dynamic equation calculations
- Limitations of form view equations
- Best practices for implementing equation fields
- Solutions for common equation calculation challenges
Real-Time Equation Fields in Form Views
Basic Requirements
To enable dynamic calculations in your forms:
- Include equation fields as read-only values
- Add all source fields used in calculations to the form view
- Configure numeric equations (date equations are not supported)
How Live Calculations Work
When users enter data in form fields, any equations using those values update automatically. This provides immediate feedback and ensures accurate data entry.
Example: Purchase Order Calculator
In a Purchase Orders app, a form might include:
Price Field × Quantity Field = Total (Equation Field)
As users modify either the price or quantity, the total updates instantly, streamlining the order entry process.
Technical Limitations
When implementing equation fields, consider these key constraints:
Equation Type Restrictions
- Only numeric equations support real-time updates
- Date equations remain static until form submission
Field Dependencies
- All source fields must exist in the form view
- Equations cannot use values from connected records
- Nested equations (equations using other equations) may produce inconsistent results
Processing Order
- No defined sequence for calculating multiple equations
- Interdependent equations may show temporary incorrect values
Best Practices
For optimal performance:
- Use simple, direct calculations when possible
- Avoid complex chains of dependent equations
- Include clear labels and formatting for equation fields
- Test calculations thoroughly with various input scenarios
Note: For comprehensive information, review the Form Views and Equations documentation.
Updated 15 days ago