summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators/protected/pages/RegularExpressionValidator.page
blob: cfd7a33320b5cf33dd6749c69ed4e057e1d83442 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<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!"
			CheckMXRecord="false"
			ControlCssClass="required" />
	</div>
	<com:TButton ID="submit1" Text="Test" />
</div>

</com:TContent>