Candidate Tag Expression

From HLKitWiki
Revision as of 03:17, 7 December 2008 by Rob (Talk | contribs) (New page: {{context|Kit Reference|Tag Expression Types}} The role of the Candidate tag expression is to determine whether a pick or thing should be included in a choose form. The choose form contai...)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Context: HL KitKit Reference … Tag Expression Types 

The role of the Candidate tag expression is to determine whether a pick or thing should be included in a choose form. The choose form contains the list of picks/things from which the user can select when adding items to a dynamic table portal or a chooser. If the tag expression is satisfied, then the pick/thing is shown within the list of options and can be added by the user. Otherwise, the pick/thing is omitted from the available list.

The Candidate tag expression is always applied against the pick/thing itself. The tag expression is compared against all of the tags possessed by the object. For picks, this includes the effects of all dynamically assigned and deleted tags. The Candidate tag expression is only invoked when the user triggers a table or chooser to display the list of options to choose from. Consequently, the tags used for picks are the final set of tags after evaluation completes. This also means that picks can dynamically change their state and change whether they appear as valid choices for a given table or chooser.