|
::Features
::Download
::Tutorial
::Examples
::Documentation ::FormBuilder Google Group ::Old List Archives ::Contribute |
|
Basic Tutorial - Step 3: Form Method
By default, FormBuilder sends form data via
Doing so is easy, simply change the
$form = CGI::FormBuilder->new(
method => 'post',
fields => \@fields,
);
(Note: The order you specify options in never matters to FormBuilder.)
In fact, you can pass in any valid
$form = CGI::FormBuilder->new(
method => 'post',
name => 'personal_info',
enctype => 'multipart/form-data',
fields => \@fields,
);
Naming your form with the name option has special
usefulness with multi-screen forms, as we'll see later.
Finally, note that you can change the Take a minute to play around with this script in action, and view the source as well. |
| FormBuilder is © Nate Wiger, with contributions from many people. |