Tagger

The Tagger function allows you to set up a multi-line key of values in a field on the current or a related table. It provides an interface which allows you to delete or add tags, preventing duplicate entries, and provides users with a drop-down list of existing values as-you-type.

Tagger( “tagsFieldName” {; availableTagsList ; actionOnTagSelect ; tagColor ; bgColor } )


Parameters:

1 "tagsFieldName" Name of the field on the Related table containing the tag, enclosed in quotes and the full Table Occurrence:: Field Name form.
2 availableTagsList
(opt)
A Return-delimited list of available tag values which will drop down and match as-you-type. The list can be generated by a calculation such as: ValueListItems ( Get ( FileName ) ; "AvailableTags" )
3 actionOnTagSelect
(opt)
The name of the script or a command to run on selection of a tag (useful for obtaining the tag currently being edited, or finding records related by tag). See note on syntax below.
4 tagColor
(opt)
The default color is white but you can specify a different color: see “Background Color” in the “Basics” section.
5 bgColor
(opt)
The default color is white but you can specify a different color: see “Background Color” in the “Basics” section.

Action parameter examples:

“Script=Get Tag Value”

“SetField=Selected Tag”

For further examples of Action Parameters, see Action Parameters

Notes:

You should give the Web Viewer 2 or 3 lines of depth at minimum, to ensure the dropdown list can be displayed.



Table of Contents