[freeside-commits] branch master updated. d500b4af779a13e2fc862637fe67fe9394d5f286

Christopher Burger burgerc at 420.am
Fri Feb 17 07:37:24 PST 2017


The branch, master has been updated
       via  d500b4af779a13e2fc862637fe67fe9394d5f286 (commit)
      from  b36e314b78b3a26d258730e6536010b4e6c3201b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d500b4af779a13e2fc862637fe67fe9394d5f286
Author: root <root at debian8-7-1>
Date:   Fri Feb 17 10:36:00 2017 -0500

    RT# 21110 Unparsable age error.  Added documentation to the footer to show how to validate a form.

diff --git a/httemplate/elements/footer.html b/httemplate/elements/footer.html
index 3eaa233..7f2c50e 100644
--- a/httemplate/elements/footer.html
+++ b/httemplate/elements/footer.html
@@ -1,3 +1,20 @@
+ <%doc>
+
+Example:
+
+  <& /elements/footer.html,  
+    'formname' =>  { #actual name of the form you want validated
+    		      'name'          => # name of the form
+    		      'errormessage'  => # js error message to display
+    		      'fieldname'     => # fieldname is actual name of field to be validated and value is type of validation
+    			         	 # validation types are required, valid_email, min_length(min_length[5]), max_length(max_length[7]),
+    				         # exact_length(exact_length[6]), greater_than(greater_than[4]), less_than(less_than[6]),
+    				         # alpha, alpha_numeric, numeric, valid_ip, is_file_type(is_file_type[gif,png,jpg])
+    			}
+
+   &>
+ </%doc>
+
         </TD>
       </TR>
     </TABLE>

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/footer.html |   17 +++++++++++++++++
 1 file changed, 17 insertions(+)




More information about the freeside-commits mailing list