Perl Form Builder ::Features ::Download ::Tutorial ::Examples
::Documentation ::FormBuilder Google Group ::Old List Archives ::Contribute
Note: The mailing list is has been replaced by the Google FormBuilder Group

Basic

1. Intro to FormBuilder
2. A Simple Form
3. Form Method
4. Input Validation
5. Field Options
6. Multi-Select Lists
7. Field Data
8. Field Attributes
9. HTML Formatting
10. Custom Headers
S. Summary

Intermediate

1. Trickier Forms
2. Perl References
3. Default Values
4. CGI Stickiness
5. JavaScript Actions
6. Input Validation 2
7. Multiple Submits
8. JavaScript Actions 2
9. Modules & mod_perl
10. Smartness
S. Summary

Advanced

1. Remaining Features
2. Intro to Templates
3. HTML::Template
4. HTML::Template 2
5. Template Toolkit
6. Exploiting render()
7. Multi-Screen Apps
8. Multi-Screen Apps 2
9. Multi-Screen Apps 3
10. Custom Messages
S. Summary

Intermediate Tutorial - Step 1: Trickier Forms Print

Perl References >>

Time to get down and dirty.

Sooner or later, you'll probably run into a situtation that requires you do some tricky stuff with your forms, like:

  • Import defaults into your fields from an outside source, such as a database
  • Add JavaScript event handlers like onClick and onChange
  • Make use of custom input validation with homegrown regexps
  • Use several different Submit buttons, and change what you do depending on which one the user clicked
  • Use FormBuilder in concert with other CGI modules, such as CGI.pm
Depending on your level of optimism, you may be surprised that each of these difficult tasks can be performed with just a single option to FormBuilder.

The following steps in this tutorial address each of these items in turn.

Perl References >>

FormBuilder is © Nate Wiger, with contributions from many people.
Nateware