|
VDaemon
PHP Library |
VDaemon
Extension | Table of Contents
VDaemon Reference
<VLSUMMARY> Custom Tag
The vlsummary custom tag allows you to summarize the error messages from all validators
on a form in a single location. The error message displayed in the summary for each validator
on the form is specified by the ErrMsg Attribute of corresponding validator. If the
ErrMsg Attribute of the validator is not set, no error message is displayed in the
summary for that validator. You can also specify a custom title in the heading section of
the summary by setting the HeaderText attribute.
Syntax
<vlsummary
form="formName"
class="cssStyle"
headertext="summaryHeader"
showsummary="true"|"false"
messagebox="true"|"false"
displaymode="list"|"bulletlist"|"paragraph"
>
Form Attribute
Specifies form name to which this summary belongs. This attribute is not requiered if summary
tag located inside VDaemon form.
Class Attribute
Sets the CSS style for the summary. Ignored if the Tag attribute is not defined.
HeaderText Attribute
Use this attribute to display a title for the summary. The HeaderText is not HTML
encoded. Therefore, HTML tags can be included in the HeaderText.
ShowSummary Attribute
Specifies if summary should be rendered on page. Default value is true.
MessageBox Attribute
If client-side validation is enabled this attribute defines is summary should be displayed
in separate pop-up window (messagebox).
DisplayMode Attribute
Set the summary DisplayMode attribute to format the error messages, using one
of the following values:
BulletList - Each message appears as a bulleted item.
List (Default) - Each message appears on its own line.
Paragraph - Each message appears as a sentence in a paragraph.
|