Index: openacs-4/packages/acs-templating/www/doc/api/element.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/acs-templating/www/doc/api/element.adp,v
diff -u -r1.2.2.2 -r1.2.2.3
--- openacs-4/packages/acs-templating/www/doc/api/element.adp 1 Dec 2015 11:18:00 -0000 1.2.2.2
+++ openacs-4/packages/acs-templating/www/doc/api/element.adp 22 Jun 2016 07:48:44 -0000 1.2.2.3
@@ -22,19 +22,19 @@
Append a new element to the specified form.
-- The html switch may be used to include additional HTML
-attributes in the input, select, or
-textarea tag used to ultimately render the element.
- The validate switch may be used to perform simple
-custom validation of each element value. type is a keyword
+
- The html switch may be used to include additional HTML
+attributes in the input, select, or
+textarea tag used to ultimately render the element.
- The validate switch may be used to perform simple
+custom validation of each element value. type is a keyword
for the type of validation being performed. This same keyword must
-be referenced by the formerror tag to customize the
+be referenced by the formerror tag to customize the
presentation and layout of the error message for this validation
-step. expression must be a block of arbitrary Tcl code
+step. expression must be a block of arbitrary Tcl code
that evaluates to 1 (valid) or 0 (not valid). The variable
-$value may be used in the expression to reference the
-element value. message is simply a string containing a
+$value may be used in the expression to reference the
+element value. message is simply a string containing a
message to return to the user if validation fails. The variables
-$value and $label may be used in the message to
+$value and $label may be used in the message to
reference the parameter value and label (or name if no label is
supplied).