I'm using the validate option located in teh CGI::Formbuilder. I'm using it almost verbatim as given in teh example but for some reason it doesn't work. the data gets precessed without being checked. see code snippet below.
++++++++++++++++++++++<snippet> sub creat_form { my @fields [EMAIL PROTECTED]; my $pro_info; my $form = CGI::FormBuilder->new( method => 'POST', fields => [EMAIL PROTECTED], validate => { apn_no => 'INT', street_no => 'VALUE', street_name => 'VALUE', city => 'NAME', state => 'STATE', zip => 'ZIP', }, font => 'arial,helvetica', title => 'Project Information', text => 'Please input Project Info:', body => { bgcolor => '#3399CC', text => 'white', link => '#CC0000', vlink => '#CC0000', alink => '#CC0000', }, table => { bgcolor => 'gray', border => 0, cellspacing => 0, cellpadding => 5, }, lalign => 'right', ); -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>