summaryrefslogtreecommitdiff
path: root/tests/FunctionalTests/tickets/protected/pages/Ticket488.page
blob: 4bb8df4728d4e032ffd8967d19f5c8655721a7d1 (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
<com:TContent ID="Content">

<com:TTextBox ID="Password" />

<com:TActiveCustomValidator
	   ID="LoginValidate" 
       ControlToValidate="Password"
       Text="Login failed."
       Display="Dynamic"
       OnServerValidate="login" 
       ValidationGroup="UserAccountLogin"
       ClientSide.ObserveChanges="false">
		<prop:ClientSide.OnValidationError>
			console.log('OnValidationError')
		</prop:ClientSide.OnValidationError>
		<prop:ClientSide.OnValidate>
			console.log('OnValidate');
		</prop:ClientSide.OnValidate>
		<prop:ActiveControl.ClientSide
			OnLoading="console.log('loading')"
			OnComplete="console.log('completing')"
	   />
</com:TActiveCustomValidator>

<com:TActiveButton Text="Click" ValidationGroup="UserAccountLogin" />

</com:TContent>