Rules Examples
Rules in GlobalForms offer the ability to apply custom logic to your form's components. They can be as simple as showing or hiding a component based on specific values in other components, or as complicated as integrating with a 3rd party mapping API to get a distance between two addresses. Anything but the most basic rules requires some level of JavaScript knowledge. The examples listed here are intended to serve as a starting point for some of the more common tasks customers look to achieve with Rules.
- Accessing The Current Validation Step
- Avoiding NaN or Undefined Values
- Concatenate Values
- Show or Hide Controls (Simple)
- Setting Components To Disabled and Required
- Custom Field Validation
- Increment Days in a Date Control
- Looping Through Datagrid Items
- Query String Parameters
- Scripting Scratchpad
- Set a Value On Signature
- Show or Hide Controls (Advanced)
- Utilizing Buttons for Custom Actions
- Getting Data from a Static URL
- Populating Data into a Datagrid