Disable Javascript validation in CGI::Formbuilder
Creating a form with CGI::Formbuilder generates a HTML page containing javascript to validate the fields (with an old-school style "alert" if the form is invalid) as well as back-end verification in Perl. Would anyone know how to turn off the javascript generation (so that I can use some other js libraries better eye c开发者_开发百科andy, or even only use backend verification) ?
Thanks, Manojo
Try
my $form = CGI::FormBuilder->new(
javascript => 0
);
As found in the quick reference
精彩评论