📄️ Advanced Techniques
This guide covers advanced techniques for creating sophisticated forms in the OSPROV Form Builder. These techniques will help you build more dynamic, user-friendly, and powerful forms.
📄️ Common Use Cases
Here are step-by-step instructions for common form building scenarios:
📄️ Conditional Logic
Conditional logic lets you show or hide a component based on the value of another component. The form adapts as the submitter fills it in, keeping it clean — submitters only see what is relevant to them.
📄️ Calculated Fields
Calculated fields automatically compute values based on other form inputs.
📄️ Calculation Tab
The Calculation tab lets you react to conditions and change almost anything about a component — not just its visibility. Use it when the Conditional tab (show/hide) is not enough.
📄️ Data Sources and Dynamic Options
A Select component in OSPROV does not have to hold a static list of options. You can load options from JSON, JavaScript, or a live data endpoint. This page covers all five data source types and when to use each.
📄️ Form Prefilling
OSPROV allows you to prefill forms with existing data.
📄️ Custom Validation
Beyond the built-in validation options, you can write custom validation rules using JavaScript and customise the error messages shown to submitters.
📄️ Advanced Layout Techniques
Create sophisticated form layouts for better user experience.
📄️ Working with Data Grids
Datagrid is a repeating row component. The submitter can add as many rows as they need, each containing the same set of columns. Use it for expense line items, asset request lists, attendee lists, delegation lists — any situation where you need a variable number of similar entries.
📄️ Form Accessibility
Ensure your forms are accessible to all users, including those with disabilities.
📄️ Performance Optimization
Optimize forms for better performance, especially for complex or large forms.
📄️ Troubleshooting
Common issues and solutions when building forms.