OpenWGA 7.6 - WebTML reference

WebTML tags » formmessages

<tml:formmessages scope ="all | global | fieldname">

Purpose:

Determines the scope of messages to display

Description:

Using this attribute you can determine, if the <tml:formmessage> tag should put out all validation messages, just global messages which are not field specific, or only the messages for a specific field.

This is helpful if you have multiple places where you put out validation messages, for example: You want to put out field-specific messages right at the field and all others at a central spot.  Then you can use this tag multiple times at different places with different scopes ("field" at the individual field, "global" for the rest).

Value(s):

all

global - Only field-unspecific messages

fieldname - Name of a WebTML form field whose messages are to be put out

Default value:

all