Hello,

I have searched through much of the mailing list, all of the
documentation I could find, Google, and tried the freenode channel
(which seems to be dead). I can not find out what the purpose is of
having form.notnull inside of the form objects' constructors. The only
description of it that I could find is at webpy.org/form#inputfeatures
but it wasn't very clear:

form.textbox("firstname",
    form.notnull, #put validators first followed by optional
attributes
    class_="textEntry", #gives a class name to the text box -- note
the underscore
    pre="pre", #directly before the text box
    post="post", #directly after the text box
    description="please enter your name", #describes field, defaults
to form name ("firstname")
    value="bob", #default value
    id="nameid", #specify the id
)

Could anyone tell me what the purpose of form.notnull is? Or point me
to some literature I missed that explains it to me?

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to