4.7.5 The RangeValidator tag

Description

The « RangeValidator » tag is used to check if the entered value matches a given interval.

This validator’s various attributes are:

AttributeRequiredDescription
MinYMinimum value
maxYMaximum value
valuetypeYType of values to compare (integer, double, date, string, currency)

Example

This validation checks if the « age » field value ranges from 0 and 150.

Rendering

output_html_m20862559.png

XHTML settings<bluage:RangeValidator id="age_range_validation" forid="txt_age" errormessage="Age has to between 0 and 150" min="0" max="150" valuetype="integer" styleclass="error"/>
Screen activity diagram

output_html_m3481adb5.png

Entities Diagram

output_html_3890227a.png

Service activity diagramN/A

Tag attributes: reference

TagRangeValidator
DescriptionDefines fields whose value must be in a given interval.
Diagram

output_html_33a00039.png


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