diff options
Diffstat (limited to 'tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.page')
-rw-r--r-- | tests/FunctionalTests/protected/pages/Validation/testInitialValueRequired.page | 11 |
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 |