-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I'd coded a module, Which propose is to write HTML Forms and retrieve Data
Posted on them.
I called the Module HTML::FormWizard, but I can change the name to something
else. My choice was 'cause the module entent is only write and process HTML
Forms.
The diferences from other modules is that externally everything is perl
structured data, for example:
use HTML::FormWizard();
use CGI();
my $cgi=CGI->new();
my $form = HTML::FormWizard->new(
-title => 'A simple Example',
-cgi => $cgi,
-fields => [
{ name => 'name',
description => "What's your name?"},
{ name => 'words',
descritpion => "What's the combination?",
type => 'check',
value => ['eenie','meenie',
'minie',moe'],
defaults => ['eenie','minie'] },
{ name => 'color',
description => "What's your favorite color?",
type => 'list',
value => ['red','green',
'blue','chartreuse']}
]
);
if (my $data=$form->run()) {
# do things with %{$data}.
}
Other diferences are:
- The module can receive a -template parameter to write parameterize
the
HTML output;
- Can be used to write HTML files with the form;
I would like to upload the module for CPAN.
The module can be get from http://www.code.online.pt.
I'm already registered in PAUSE, with the ID NEVES.
NEVES, Marco
- --
A paix�o dos olhos das crian�as � toda a magia que o mundo precisa!
Alguem disse, talvez Merlin: Camelot vai renascer... Brevemente... Online!!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE8WAf28lgnN4TXjusRAvTJAKCDHirX1kx7PyZRbINrryp8aZluMQCfcxYg
PpicoR7KQOM/qmdMFJcC8XI=
=0L3e
-----END PGP SIGNATURE-----