[interchange-docs] xmldocs - racke modified refs/error.tag

docs at icdevgroup.org docs at icdevgroup.org
Tue Sep 12 17:03:13 EDT 2006

User:      racke
Date:      2006-09-12 21:03:12 GMT
Modified:  refs     error.tag
fix typo
add info about the [if errors] conditional
add all errors example

Revision  Changes    Path
1.5       +17 -3     xmldocs/refs/error.tag

rev 1.5, prev_rev 1.4
Index: error.tag
RCS file: /var/cvs/xmldocs/refs/error.tag,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- error.tag	12 Aug 2006 21:14:40 -0000	1.4
+++ error.tag	12 Sep 2006 21:03:12 -0000	1.5
@@ -371,11 +371,18 @@
 __NAME__ description
 The &tag-__FILENAME__; tag was designed to report meaningful error
-messages to the users, should an error ocurr in the &glos-form; processing
+messages to the users, should an error occur in the &glos-form; processing
 action (such as missing or invalid field values entered).
 It can work in conjunction with the definitions set in a &glos-profile;,
 and can generate error messages in any format you desire.
+Error conditions can also be tested with the [if] conditional:
+[if errors fname]
+Please enter your first name!
 Generally, if the variable in question passes order profile checking, 
@@ -390,9 +397,16 @@
-__NAME__ example
-Set an error:
+__NAME__ example 
+Trigger an error:
 [error name="email" set="Invalid email address"]
+__NAME__ example
+Show all errors:
+[error all=1 show_error=1]

More information about the docs mailing list