Select Page

Search Knowledge Base by Keyword

Condition To Years-in-date

​The Year-In-Date Condition can ensure that only the correct date information is entered by end users using Document Editor. Its wide range of settings allows it to set conditions for dates in formats that are purely numerical, or those that include text.

The Year-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 Year-In-Date field has been left blank.
  • “is not empty”, meaning that the Year-In-Date field has been filled.

Generic (beta version)

  • “is visible”, meaning the condition will activate if a certain Year-In-Date is made visible.
  • “is not visible”, meaning the condition will activate if a certain Year-In-Date is not made visible.

All of the above settings are the second to last dropdown selection in the Conditions Phrase, and once selected, the template designer will be prompted to choose a Year-In-Date Value.

Below is an example of how to build a Condition for a Year-In-Date Element that will add content:

1. Assign a System Name to the to the Date Element
2. Click on the Element or Clause to be related to the Year-In-Date
3. Click the Conditions Tab in the top menu
4. Click the “Add Conditions” Button
5. Choose “Year-In-Date” from the first dropdown (Type)
6. Choose the name of the Template from the second dropdown
7. Choose the “Year-In-Date” System Name from the third dropdown
8. Select 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, enter the value option that will determine when the selected content will be added (or not added depending on your fourth dropdown selection)