+ <%doc>
+
+Example:
+
+ <& /elements/footer.html,
+ 'formname' => { #actual name of the form you want validated
+ 'name' => # name of the form
+ 'validate_fields' => # list of key/value pairs with key being name of field to be validated and value is type
+ # of validation
+ # validation types are
+ # required: true, email: true, url: true, number: true, digits: true
+ # validation size types are
+ # minlength: n, maxlength: n, rangelength: [n, n]
+ # validation value types are
+ # min: n, max: n, range: [n, n],
+ 'error_message' => # list of key/value pairs with key being name of field to be validated and value is error
+ # message to display
+
+ }
+
+ &>
+ </%doc>
+