summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page
diff options
context:
space:
mode:
Diffstat (limited to 'tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page')
-rw-r--r--tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page8
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