Condition To Days-in-date
The Day-In-Date Condition can ensure that only the correct date information is entered by end users using Document Editor.
A wide range of settings makes it possible to use it to set conditions for dates in formats that are purely numerical, or those that include text. The Day-In-Date Condition settings are as follows:
Numeric
- “=” – equal to
- “!=” – not equal to
- “>” – greater than
- “≥” – greater than or equal to
- “<” – less than
- “≤” – less than or equal to
Text
- “is empty”, meaning that the Day-In-Date field has been left blank.
- “is not empty”, meaning that the Day-In-Date field has been filled.
Generic (beta version)
- “is visible”, meaning the condition will activate if a certain Day-In-Date is made visible.
- “is not visible”, meaning the condition will activate if a certain Day-In-Date is not made visible.
The above listed settings are found in the second to last dropdown selection in the Conditions Phrase, and once selected, the template designer will be prompted to choose a Day-In-Date Value.
Below is n example of building a Condition for a Day-In-Date Element, that will add content:
1. Assign a System Name to the Date Element
2. Click on the Element or Clause to be related to the Day-In-Date
3. Click the Conditions Tab in the top menu
4. Click the “Add Conditions” Button
5. Choose “Day-In-Date” from the first dropdown (Type)
6. Choose the name of the Template from the second dropdown
7. Choose the “Day-In-Date” System Name from the third dropdown
8. Select an appropriate setting from the fourth dropdown to determine when the selected content will be added (or not added depending on your fourth dropdown selection)
9. If a numeric value has been chosen in the previous step, choose the day of the month that will determine when the selected content will be added (or not added depending on your fourth dropdown selection)