From 318ca1a7cc0085f36a6ca6648b6b2a7eb2bab295 Mon Sep 17 00:00:00 2001 From: xue <> Date: Mon, 16 Jan 2006 15:36:15 +0000 Subject: Added customvalidator demo. --- .../Controls/Samples/TCustomValidator/Home.page | 70 ++++++++++++++++++++++ .../Controls/Samples/TCustomValidator/Home.php | 12 ++++ 2 files changed, 82 insertions(+) create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.page create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.php (limited to 'demos/quickstart/protected') diff --git a/demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.page new file mode 100644 index 00000000..840a6550 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.page @@ -0,0 +1,70 @@ + + + + +

TCustomValidator Samples

+ + + + + + + + + + + + + + + + + + + +
+Custom validator with default settings: + + + + +
+Custom validator with client-side validation disabled: + + + + +
+Custom validator with focus-on-error enabled and dynamic display: + + + + +
+ +
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.php new file mode 100644 index 00000000..0db261b9 --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TCustomValidator/Home.php @@ -0,0 +1,12 @@ +Value!=='test') + $param->IsValid=false; + } +} + +?> \ No newline at end of file -- cgit v1.2.3