summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.page
diff options
context:
space:
mode:
authorwei <>2006-02-02 05:04:50 +0000
committerwei <>2006-02-02 05:04:50 +0000
commita2a030c3cfbb0249762fffa4159107bc13f8952d (patch)
treee8b2f97068cf92a314df360ccf8dfb1d37b92bd6 /tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.page
parent93f6933c39b2e1896ff781a8f839a3c73a7e56b1 (diff)
Fixed #19
Diffstat (limited to 'tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.page')
-rw-r--r--tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.page11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.page b/tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.page
new file mode 100644
index 00000000..62cf761c
--- /dev/null
+++ b/tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.page
@@ -0,0 +1,11 @@
+<%@ Title="InitialValue Validation Test" %>
+<com:TContent ID="Content">
+<h1>InitialValue Validation Test</h1>
+<com:TTextBox ID="text1" />
+<com:TRequiredFieldValidator ID="validator1"
+ ControlToValidate="text1"
+ InitialValue="test"
+ ErrorMessage="Text must not equal to 'test'" />
+
+<com:TButton ID="submit" Text="Submit!" />
+</com:TContent> \ No newline at end of file