summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/validators/protected/pages/RangeValidatorFloat.page
blob: 18c476c7e8fafcb51e4824ff40ba4b34f5be1d24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<com:TContent ID="Content">
<h1>Prado RangeValidator Tests Float</h1>
<div>
	<p>Float between 1.4 and 4.4</p>
	<div>
		<com:TTextBox ID="text1" />
		<com:TRangeValidator
			ID="validator1"
			ControlToValidate="text1"
			ErrorMessage="Numbers between 1.4 and 4.4"
			MinValue="1.4"
			MaxValue="4.4"
			DataType="Float"
			ControlCssClass="required" />
	</div>
	<p>Float &gt;= 2.2</p>
	<div>
		<com:TTextBox ID="text2" />
		<com:TRangeValidator
			ID="validator2"
			ControlToValidate="text2"
			ErrorMessage="Numbers &gt;= 2.2"
			MinValue="2.2"
			DataType="Float"
			ControlCssClass="required" />
	</div>
	
	<p>Float &lt;= 20.2</p>
	<div>
		<com:TTextBox ID="text3" />
		<com:TRangeValidator
			ID="validator3"
			ControlToValidate="text3"
			ErrorMessage="Numbers &lt;= 20.2"
			MaxValue="20.2"
			DataType="Float"
			ControlCssClass="required" />
	</div>
		
	<com:TButton ID="submit1"Text="Test" />
</div>



</com:TContent>