|
Basic Tutorial - Summary Print
Trickier Forms >>
In this section of the tutorial, we've learned:
- The basic steps involved in using FormBuilder
- How to create a
$form object by using
CGI::FormBuilder->new()
- How to change the
method or enctype
of the form, simply by specifying these options to new().
- How to use validation, by specifying the
validate
option to new().
- How to change the options and type of a field, by specifying the
options and type arguments to the
field() method.
- How to change a field so that it is multi-valued by using the
multiple option to field().
- How to change any other HTML attributes as well, simply by
specifying them to
field().
- How to alter the formatting of the HTML output by FormBuilder, by using
options named for the different HTML tags in
new().
- How to print a custom HTML header, and how to hook FormBuilder into
another module by using the
params option to new().
This is as far as many people have to go. With FormBuilder, you can create a complete form
application in as few as 10-15 lines of code. Best of all it's FREE, so if you haven't
already, you can download FormBuilder here.
If you're still looking for more advanced features, have no fear. FormBuilder has a
wealth more features that we haven't even touched on yet.
Trickier Forms >> |