Permalink
Browse files

irrelative

  • Loading branch information...
1 parent 0bb2e4c commit 2048afa84ad4f8e5674c0230e56b7f565b969a23 anonymous committed with anandology May 11, 2007
Showing with 8 additions and 0 deletions.
  1. +8 −0 form.md
View
@@ -57,6 +57,14 @@ The forms support several additional attributes. For example:
value="bob", #default value
id="nameid", #specify the id
)
+
+In addition to the attributes above, any html attributes can be entered in the same manner. For example:
+
+ myform2 = form.Form(
+ form.textbox('phonenumber',
+ size="12",
+ maxlength="12" )
+ )
In addition to validation on individual inputs, form.py supports entire form validation which allows comparisons of fields. The validators get passed as a list as the variable 'validators'. For example:

0 comments on commit 2048afa

Please sign in to comment.