Search Knowledge Base by Keyword

Condition To Years-in-date

Last review: March 2024

​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

  • equals to
  • not equal to
  • greater than
  • greater than or equal
  • less than
  • less than or equal

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.
  • contains
  • does not contain
  • starts with
  • does not start with
  • ends with
  • does not end with

Generic 

  • “is present”, meaning the condition will activate if a certain Year-In-Date is made visible.
  • “is not present”, 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)