Skip to content

OnAddTag - cWebTagsForm

Triggered when the user adds a tag within the control

Type: Event

Parameters

Parameter Type Description
Tag tSelectionItem The (unescaped) tag to be added

Syntax

Procedure OnAddTag tSelectionItem Tag

Description

Event that is triggered when the user adds a tag within the control when the pbServerOnAddTag property is True.

If a new tag is created instead of selecting an existing tag, then OnCreate is called first. If OnCreate cancels the creation, then OnAddTag is not triggered.

Note that using UpdateTags and WebSet psValue will not fire this event.