From d85c3dae493f89881907e59457984ea4febedcff Mon Sep 17 00:00:00 2001
From: latham <latham@ispconfig3>
Date: Wed, 22 Jun 2011 12:37:01 -0400
Subject: [PATCH] Add some notes, and todo about the validators

---
 TODO.txt             |    5 +++++
 CODING_NOTES.php.txt |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/CODING_NOTES.php.txt b/CODING_NOTES.php.txt
index da9f2db..9b7ae8e 100644
--- a/CODING_NOTES.php.txt
+++ b/CODING_NOTES.php.txt
@@ -122,4 +122,9 @@
 $web_config = $app->getconf->get_server_config($server_id,'web');
 
 
+//*****************************************************************************
+// Learn about the form validators
+//*****************************************************************************
+There are form validators in interface/lib/classes/tform.inc.php to make validating forms easier.
+Read about: REGEX,UNIQUE,NOTEMPTY,ISEMAIL,ISINT,ISPOSITIVE,ISIPV4,CUSTOM
 
diff --git a/TODO.txt b/TODO.txt
index 1ea9dbd..16a54ab 100644
--- a/TODO.txt
+++ b/TODO.txt
@@ -6,6 +6,11 @@
 Please feel free to edit this file, add new tasks,
 remove done tasks or assign yourself to a task.
 
+Form Validators
+--------------------------------------
+ISIPV4 does a manual check, PHP5 now has FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 which may be better.
+There also will be a time to add ISIPV6 or ISIPADDR to validate for IPv6 or both
+
 Installer
 --------------------------------------
 

--
Gitblit v1.9.1