summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators/protected/pages/RegularExpressionValidator.page
blob: ac24cd0dc597639d52ef903f4f4f1fae3868ced4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<com:TContent ID="Content">
<h1>Prado RegularExpressionValidator Tests</h1>
<div>
	<div>
		<com:TTextBox ID="text1" />
		<com:TRegularExpressionValidator
			ID="validator1"
			ControlToValidate="text1"
			ErrorMessage="5 digits"
			RegularExpression="\d{5}"
			ControlCssClass="required" />
		<com:TTextBox ID="text2" />
		<com:TEmailAddressValidator
			ID="validator2"
			ControlToValidate="text2"
			ErrorMessage="Email Address!"
			ControlCssClass="required" />
	</div>
	<com:TButton ID="submit1" Text="Test" />
</div>

</com:TContent>