summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests
diff options
context:
space:
mode:
authorwei <>2006-07-22 01:58:33 +0000
committerwei <>2006-07-22 01:58:33 +0000
commit846f6328a4b9b777da44b1b077a244a5a8d527ce (patch)
treec025546b3b46779995378689164f0d7782043932 /tests/FunctionalTests
parent9ce14c25940da9162a19ccfd85fb4ba7cce1ef6a (diff)
add StringLength, multi-byte, check in TRangeValidator
Diffstat (limited to 'tests/FunctionalTests')
-rw-r--r--tests/FunctionalTests/validators/protected/pages/StringRangeValidator.page12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/FunctionalTests/validators/protected/pages/StringRangeValidator.page b/tests/FunctionalTests/validators/protected/pages/StringRangeValidator.page
new file mode 100644
index 00000000..14f63801
--- /dev/null
+++ b/tests/FunctionalTests/validators/protected/pages/StringRangeValidator.page
@@ -0,0 +1,12 @@
+<com:TContent ID="Content">
+
+ <com:TTextBox ID="text1" />
+ <com:TRangeValidator
+ ControlToValidate="text1"
+ MinValue="5"
+ MaxValue="7"
+ DataType="StringLength"
+ ErrorMessage="String length must be between 5 and 7" />
+ <com:TButton Text="Submit!" />
+
+</com:TContent> \ No newline at end of file