summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/TValidationSummary
diff options
context:
space:
mode:
authorxue <>2006-01-16 22:22:39 +0000
committerxue <>2006-01-16 22:22:39 +0000
commit473e29dfcec480bd146bc31e42f0f9438b7210f9 (patch)
tree033dfe5c923446ae1178b9af596b274cf067bc13 /demos/quickstart/protected/pages/Controls/Samples/TValidationSummary
parent318ca1a7cc0085f36a6ca6648b6b2a7eb2bab295 (diff)
Added validation examples.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TValidationSummary')
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.page25
-rw-r--r--demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.php8
2 files changed, 33 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.page
new file mode 100644
index 00000000..75ca9c52
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.page
@@ -0,0 +1,25 @@
+<com:TContent ID="body">
+
+<h1>TValidationSummary Samples</h1>
+
+<table class="sampletable">
+
+<tr>
+<td class="samplenote">
+Required field validator with default settings:
+</td>
+<td class="sampleaction">
+<com:TValidationSummary ValidationGroup="Group1" />
+<com:TTextBox ID="TextBox1" />
+<com:TRequiredFieldValidator
+ ValidationGroup="Group1"
+ ControlToValidate="TextBox1"
+ Text="Field required." />
+<com:TButton Text="Submit" ValidationGroup="Group1" />
+</td>
+</tr>
+
+
+</table>
+
+</com:TContent> \ No newline at end of file
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.php b/demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.php
new file mode 100644
index 00000000..88d2dbf2
--- /dev/null
+++ b/demos/quickstart/protected/pages/Controls/Samples/TValidationSummary/Home.php
@@ -0,0 +1,8 @@
+<?php
+
+class Home extends TPage
+{
+
+}
+
+?> \ No newline at end of file