blob: 6689fc4ed535fefd29453e6dcb94125f88c1c254 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
class Home extends TPage
{
public function serverValidate($sender,$param)
{
if($param->Value!=='test')
$param->IsValid=false;
}
public function serverValidateNoControl($sender,$param)
{
if($this->TextBox4->Text!=='test')
$param->IsValid=false;
}
}
|