Configuring Tags for Conditional Text - Agenda - English - Foundation 22.1 - OnBase - Premier - external - Standard - Essential - Premier - Standard - Essential - OnBase/Agenda/English/Foundation-22.1/Agenda/Agenda-Tag-Templates/Template-Tags/Unity-Form-Tags/Configuring-Tags-for-Conditional-Text - 2022-08-18

Agenda

Platform
OnBase
Product
Agenda
Release
Foundation 22.1
License
Premier
Standard
Essential

Meeting document and Item document Tag Template tags can include conditional text which is displayed based on a selected field containing a value.

In many cases customers want a certain static text value to be displayed only if the item form field actually has a value to go along with it. For example if a field was created and named "Item Information," it should be displayed only if the Item Information field in the agenda item form was filled out.

When creating the Item Information field in the Unity form, the ID in the Property Controls must be set with the following appended to it: _text. The Item Information ID may look like the following: #textboxItemInformation_text

In the tag template, the configuration would look like the following:

<#textboxItemInformation_text> Item Title:<#textboxItemTitle></#textboxItemInformation_text>

One of the following is displayed in the generated document:

  • If information was entered into the Item Information field, it would display as usual in the generated document.

  • If no information was entered in the Item Information field, nothing, not even the field label, would be displayed in the generated document.