====== SizeRangeRule ====== Input validation rule that tests for minimum (and optionally, maxmimum) textual field size. A username field commonly needs to be of a specific size range. ===== Example ===== $form->addRule (new SizeRangeRule ('fieldName', 4, 12)); This example checks that the length of the value in the field "fieldName" is at least four characters and no more than 12 characters. ===== Additional Information ===== * [[wact:api:validation:rule:catalog|Validation Rules]] * WACT [[wact:Form Validation]]