diff options
author | wei <> | 2006-01-13 04:55:22 +0000 |
---|---|---|
committer | wei <> | 2006-01-13 04:55:22 +0000 |
commit | 8da0f8dd4a0347f15df6e71ac2b0f4b3c27e8475 (patch) | |
tree | f4b75568da1fd702bcb3320259bb1642f3cc53b8 /tests/FunctionalTests/protected/pages | |
parent | d202492e4ad31c4127b4b459b300de7cd1976c1b (diff) |
Focus added to client validators
Diffstat (limited to 'tests/FunctionalTests/protected/pages')
-rw-r--r-- | tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page index 4c9a8cd3..56ef07bd 100644 --- a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page +++ b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page @@ -1,7 +1,13 @@ <com:TForm>
<h1>Basic TRequiredFieldValidator Test1</h1>
<com:TTextBox ID="text1" />
- <com:TRequiredFieldValidator ID="validator1" ControlToValidate="text1" ErrorMessage="*" />
+ <com:TRequiredFieldValidator
+ ID="validator1"
+ FocusOnError="true"
+ FocusElementID="text2"
+ ControlToValidate="text1"
+ ErrorMessage="*" />
<com:TButton ID="button1" Text="Click" />
+ <com:TTextBox ID="text2" />
<com:TJavascriptLogger />
</com:TForm>
\ No newline at end of file |