Definitions
Definitions are reusable values that can be used across conditional logic formulas. There are three types of definition that can be defined:
- Constant: a value that you set, similar to a Text value but reusable across all forms. A constant definition can assist with readability of your logics by providing a user friendly name to values in calculations.
- Specific Date: manage dates and compare them to Date Calculation definitions. For example where there is a subscription or a term start date.
- Date Calculation: set a date relative to the current date. Enter a relative date in to the formula field. /you can optionally choose to include the time with the date by ticking the Include time check box. When Include time is not checked the dates assume a time of 00:00:00 for comparison purposes.
tip
The following are all valid relative dates: +10 weekdays, -2 weeks, next tuesday, today, Next april 1st. Examples including the time include: today 1pm, next april 1st 12pm, now.
Managing logic definitions
Logic definitions are managed via the Forms menu.
If your account has permission to access logic definitions, you navigate to their management area by the following:
- Click the Forms icon in the left navigation bar. The Forms menu will open.
- Click the Defintions link in the list
note
It is not possible to delete a definition that is in use on a form. If you attempt to delete a definition that is in use it won't be deleted. You will need to remove it from the forms that are using it before trying to remove it again.
Logic definition fields
Field | Notes | Required? |
---|---|---|
Type | The type of definition to define | ✅ |
Definition name | User friendly name of the definition. | ✅ |
Value | The value a definition equates to. | ✅ |