Raphael Manfredi > CGI-MxScreen-0.1.1 > CGI::MxScreen::Form::Utils

Download:
CGI-MxScreen-0.1.1.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: CGI-MxScreen-0.103

NAME ^

CGI::MxScreen::Form::Utils - Standard validation & patching routines

SYNOPSIS ^

 # Not meant to be used directly

DESCRIPTION ^

This module is the standard namespace for validation and patching routines. See CGI::MxScreen::Form::Field to learn how to link such routines to fields.

The following standard validation routines are provided:

is_num

Check that field holds a number.

is_greater value

Check that field is greater than supplied value.

The following standard patching routines are provided:

float2int

Removes fractional part of number.

AUTHORS ^

Raphael Manfredi <Raphael_Manfredi@pobox.com> and Christophe Dehaudt <Christophe.Dehaudt@teamlog.fr>.

SEE ALSO ^

CGI::MxScreen::Form::Field(3).

syntax highlighting: