diff options
author | grant <grant> | 2003-12-04 15:32:27 +0000 |
---|---|---|
committer | grant <grant> | 2003-12-04 15:32:27 +0000 |
commit | a84935a2bce80ba6766af269d0dad732a94ab8ee (patch) | |
tree | eac7c2fce4ad834575e46d788af1371610667261 /chat | |
parent | 7e0fbc2167da3d5ac4698f6fc201aa97e6aac7a6 (diff) | |
download | pkgsrc-a84935a2bce80ba6766af269d0dad732a94ab8ee.tar.gz |
Initial import of CGI-FormBuilder-2.12 into the NetBSD packages
collection.
The goal of CGI::FormBuilder (FormBuilder) is to provide an easy way
for you to generate and process CGI form-based applications. This
module is designed to be smart in that it figures a lot of stuff out
for you. As a result, FormBuilder gives you about a 4:1 ratio of the
code it generates versus what you have to write.
For example, if you have multiple values for a field, it sticks them
in a radio, checkbox, or select group, depending on some factors. It
will also automatically name fields for you in human-readable labels
depending on the field names, and lay everything out in a nicely
formatted table. It will even title the form based on the name of the
script itself (order_form.cgi becomes "Order Form").
Plus, FormBuilder provides you full-blown validation for your fields,
including some useful builtin patterns. It will even generate
JavaScript validation routines on the fly! And, of course, it
maintains state ("stickiness") across submissions, with hooks provided
for you to plugin your own sessionid module such as Apache::Session.
And though it's smart, it allows you to customize it as well. For
example, if you really want something to be a checkbox, you can make
it a checkbox. And, if you really want something to be output a
specific way, you can even specify the name of an HTML::Template or
Template Toolkit (Template) compatible template which will be
automatically filled in, statefully.
Diffstat (limited to 'chat')
0 files changed, 0 insertions, 0 deletions