HTML::FormStructureAccessor for HTML FORM definition | |
Download |
HTML::FormStructure Ranking & Summary
Advertisement
- License:
- Perl Artistic License
- Price:
- FREE
- Publisher Name:
- Naoto Ishikawa
- Publisher web site:
- http://search.cpan.org/~toona/
HTML::FormStructure Tags
HTML::FormStructure Description
Accessor for HTML FORM definition HTML::FormStructure is a Perl module to hold definition of FORM in your script. It have the part of generating FORM tags, validating via itself, and storeing cgi(apache request)'s parameters. You can access this object in the perl souce code or templates.SYNOPSIS use HTML::FormStructure; use CGI; $cgi = CGI->new; $option = { form_accessors => , query_accessors => , }; $form = HTML::FormStructure->new( &arrayref_of_queries, $cgi_object, $option ); sub arrayref_of_queries { return , column => 1, },{ name => 'sex', type => 'radio', value => , checked => 1, column => 1, },{ name => 'birthday', type => 'text', be => , more => 1, less => 255, column => 1, consist => , },{ name => 'month', type => 'text', more => 1, less => 2, be => , },{ name => 'day', type => 'text', more => 1, less => 2, be => , }]; }]; } Requirements: · Perl
HTML::FormStructure Related Software