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

Custom Message Types

FormBuilder supports the following message types, which are set using the messages option:
[an error occurred while processing this directive]
Any instance of "%s" is filled in with the appropriate value. To override any of the defaults, simply specify the appropriate message type to the messages option:
$form = CGI::FormBuilder->new(
             fields => \@fields,
             messages => {
                form_select_default    => '--',
                form_invalid_password  => 'Make sure your password uses numbers and letters',
             }
        );
Alternatively, you can specify a filename to the messages option, which allows you to defined a common set of messages and reuse them in all your scripts. For more information, see this tutorial.

You can use any string you want for the message, including text in other languages. This allows you to fully customize the interface for your native language.

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