4.7.7 The LengthValidator tag

Description

The« LengthValidator » validator is used to check the entered String length.

Example

This validation checks that the « Given name » field size is less than 20.

Rendering

output_html_m3feac97e.png


XHTML

settings

<bluage:LengthValidator id="givenName_length_validation" forid="txt_givenName" errormessage="The given name field length must be less than 20 characters" min="0" max="20" styleclass="error" />
Screen    activity    diagram

output_html_m3ed6d72a.png

Entities    Diagram

output_html_m56c3f20a.png

Service    activity    diagramN/A

Tag attributes: reference

TagLengthValidator
DescriptionTo check the entered String length
Diagram

output_html_m24d03697.png

Tag attributes description

AttributeRequiredDescription
idYUnique tag ID in the page
foridYID of the item to be validated
errormessageNerror message to display in case of validation error
styleclassNError message to display style CSS class
minYMinimum value
maxYMaximum value

BLU AGE is a registered trademark of NETFECTIVE TECHNOLOGY S.A. - Trademarks are property of their respective owners
Do not copy or divulge without written permission