Hi,
Anyone using CGI::FormBuilder module for generating and validating forms? I
couldn't find a mailing list dedicated to this module so I'm looking for
help here. I got huge problems validating my forms.
Why can't I use this?:
$form->field(
name => 'country',
validate => '/^\w+/',
options => suppressed,
);
$form object is previously created like this:
$form = CGI::FormBuilder->new(
fields => [qw/page next_page/],
values => {
page => $page,
},
params => $query, # params from CGI.pm
reset => 0,
submit => $app->param('button_next'),
title => $title,
table => $app->param('htmltable_props'),
);
Neither Perl nor JavaScript routines are properly generated as opposed to
documentation. What am I doing wrong? Sorry for the off question.
Peter | mailto:suppressed | http://www.VRtheworld.com
---------------------------------------------------------------------
Web Archive: http://www.mail-archive.com/suppressed/
To unsubscribe, e-mail: suppressed
For additional commands, e-mail: suppressed
Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.