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.page7
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page
index 56ef07bd..e6b67c8d 100644
--- a/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page
+++ b/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page
@@ -1,13 +1,16 @@
+<%@ Title="Basic TRequiredFieldValidator" %>
+<com:TContent ID="Content">
<com:TForm>
<h1>Basic TRequiredFieldValidator Test1</h1>
<com:TTextBox ID="text1" />
<com:TRequiredFieldValidator
ID="validator1"
FocusOnError="true"
- FocusElementID="text2"
+ FocusElementID="<%# $this->Page->text2->ClientID %>"
ControlToValidate="text1"
ErrorMessage="*" />
<com:TButton ID="button1" Text="Click" />
<com:TTextBox ID="text2" />
<com:TJavascriptLogger />
-</com:TForm> \ No newline at end of file
+</com:TForm>
+</com:TContent> \ No newline at end of file