The message displayed when a particular type of error occurs. Used by the Multiple Forms Validator widget. If enclosed directly within the response:validation element, it describes an overall validation failure. If contained by the response:field element, it describes a field-specific validation failure.
Attribute | Description | Type | Default | Options | Use |
---|---|---|---|---|---|
type | Defines the message type | xs:string | invalid | invalid, empty | optional |
<?xml version="1.0" encoding="UTF-8"?>
<response:response xmlns="http://www.w3.org/2002/06/xhtml2"
xmlns:mcs="http://www.volantis.com/xmlns/2006/01/xdime/mcs"
xmlns:response="http://www.volantis.com/xmlns/2006/05/widget/response">
<response:head>
<response:link rel="mcs:theme" href="/main.mthm"/>
</response:head>
<response:body>
<response:validation result="failed">
<response:message>Validation failed</response:message>
<response:field ref="pin">
<response:message>PIN must be exactly 6 digits long</response:message>
</response:field>
<response:field ref="name">
<response:message>Name must be at least 4 characters long</response:message>
</response:field>
</response:validation>
</response:body>
</response:response>
<?xml version="1.0" encoding="UTF-8"?>
<response:response xmlns="http://www.w3.org/2002/06/xhtml2"
xmlns:mcs="http://www.volantis.com/xmlns/2006/01/xdime/mcs"
xmlns:response="http://www.volantis.com/xmlns/2006/05/widget/response">
<response:head>
<response:link rel="mcs:theme" href="/main.mthm"/>
</response:head>
<response:body>
<response:validation result="passed"/>
</response:body>
</response:response>