Author: ianb
Date: 2006-12-06 11:58:17 -0700 (Wed, 06 Dec 2006)
New Revision: 2120

Modified:
   FormEncode/trunk/docs/Validator.txt
Log:
Added if_missing doc

Modified: FormEncode/trunk/docs/Validator.txt
===================================================================
--- FormEncode/trunk/docs/Validator.txt 2006-12-06 17:52:04 UTC (rev 2119)
+++ FormEncode/trunk/docs/Validator.txt 2006-12-06 18:58:17 UTC (rev 2120)
@@ -362,6 +362,13 @@
       ``.validate_other()`` will not be called when
       ``.from_python()`` is used.
 
+``if_missing``:
+      Typically when a field is missing the schema will raise an
+      error.  In that case no validation is run -- so things like
+      ``if_invalid`` won't be triggered.  This special attribute (if
+      set) will be used when the field is missing, and no error will
+      occur.  (``None`` or ``()`` are common values)
+
 State
 -----
 


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
FormEncode-CVS mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/formencode-cvs

Reply via email to