summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/protected/pages/Validation/RequiredFieldValidator.page
blob: 5447b83423d5c44d715cae5899b0bceb8691c304 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<%@ Title="Basic TRequiredFieldValidator" %>
<com:TContent ID="Content">
<h1>Basic TRequiredFieldValidator Test1</h1>
	<com:TTextBox ID="text1" />
	<com:TRequiredFieldValidator 
		ID="validator1" 
		FocusOnError="true" 
		FocusElementID="<%# $this->Page->text2->ClientID %>"
		ControlToValidate="text1" 
		ErrorMessage="*" />
	<com:TButton ID="button1" Text="Click" />
	<com:TTextBox ID="text2" />
</com:TContent>