NAME CGI::Application::Plugin::SuperForm - Create sticky HTML forms in CGI::Application run modes using HTML::SuperForm =head1 NAME SYNOPSIS use CGI::Application::Plugin::SuperForm; sub test_form : Runmode { my $c = shift; my $form_start = $c->superform->start_form( { method => "POST", action => $c->query()->url() . "/myapp/form_process", } ); my $text = $c->superform->text( name => 'text', default => 'Default Text' ); my $textarea = $c->superform->textarea( name => 'textarea', default => 'More Default Text' ); my $select = $c->superform->select( name => 'select', default => 2, values => [ 0, 1, 2, 3 ], labels => { 0 => 'Zero', 1 => 'One', 2 => 'Two', 3 => 'Three' } ); my $output = <<"END_HTML";
Text Field: $text
Text Area: $textarea
Select: $select
END_HTML return $output; } # Alias print $c->sform->text( name => 'test' ); DESCRIPTION Create sticky forms with "HTML::SuperForm". METHODS sform alias to superform superform Returns a instance of "HTML::SuperForm". SEE ALSO HTML::SuperForm, Titanium, , CGI::Application. AUTHOR Gordon Van Amburg, "gordon@minipeg.net" LICENSE This library is free software. You can redistribute it and/or modify it under the same terms as perl itself.