CGI::FormMagick::Events.3pm

Langue: en

Version: 2003-06-24 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

CGI::FormMagick::Events -- pre/post form/page event handlers

SYNOPSIS

   use CGI::FormMagick;
 
 

DESCRIPTION


$fm->form_pre_event()

performs the PRE-EVENT (if any) for the form. Usually used to do setup for the application.

this is the routine where we call some routine that will give us default data for the form, or otherwise do things that need doing before the form is submitted.

$fm->form_post_event()

performs validation and runs the POST-EVENT (if any) otherwise just prints out the data that the user input

Note: we need to validate EVERY ONE of the form inputs to make sure malicious attacks don't happen. See also ``SECURITY CONSIDERATIONS'' in the perldoc for how to get around this :-/

$fm->page_pre_event()

Performs the PAGE PRE-EVENT (if any).

XXX NEEDS TESTS

$fm->page_post_event()

Performs the PAGE POST-EVENT (if any).

XXX NEEDS TESTS

SEE ALSO

CGI::FormMagick