|
|
|
|
Download Now Perl Artistic License Downloads till now: 1 |
| Last Update: | 2008-06-05 21:43:50 |
| Version: | HTML::SuperForm |
| License/Program Type: | Perl Artistic License |
| Publisher: | John Allwine |
| Price: | $0.00 |
HTML::SuperForm is a HTML form generator.
SYNOPSIS
use HTML::SuperForm;
use Apache::Constants qw(OK);
sub handler {
my $r = shift;
my $form = HTML::SuperForm- >new($r);
my $text = $form- >text(name = > 'text',
default = > 'Default Text');
my $textarea = $form- >textarea(name = > 'textarea',
default = > 'More Default Text');
my $select = $form- >select(name = > 'select',
default = > 2,
values = > [ 0, 1, 2, 3],
labels = > {
0 = > 'Zero',
1 = > 'One',
2 = > 'Two',
3 = > 'Three'
});
my $output = < < "END_HTML";
< html >
< body >
< form >
Text Field: $text< br >
Text Area: $textarea< br >
Select: $select
< /form >
< /body >
< /html >
END_HTML
$r- >content_type('text/html');
$r- >send_http_header;
$r- >print($output);
return OK;
}
OR
!/usr/bin/perl
my $form = HTML::SuperForm- >new();
my $text = $form- >text(name = > 'text',
default = > 'Default Text');
my $textarea = $form- >textarea(name = > 'textarea',
default = > 'More Default Text');
my $select = $form- >select(name = > 'select',
default = > 2,
values = > [ 0, 1, 2, 3],
labels = > {
0 = > 'Zero',
1 = > 'One',
2 = > 'Two',
3 = > 'Three'
});
my $output = < < "END_HTML";
< html >
< body >
< form >
Text Field: $text< br >
Text Area: $textarea< br >
Select: $select
< /form >
< /body >
< /html >
END_HTML
print "Content-Type: text/htmlnn";
print $output;
Used in its basic form, this module provides an interface for generating basic HTML form elements much like HTML::StickyForms does. The main difference is HTML::SuperForm returns HTML::SuperForm::Field objects rather than plain HTML. This allows for more flexibilty when generating forms for a complex application.
To get the most out of this module, use it as a base (Super) class for your own form object which generates your own custom fields. If you don't use it this way, I guess there's really nothing Super about it. Example are shown later in the document.
The interface was designed with mod_perl and the Template Toolkit in mind, but it works equally well in any cgi environment.
Requirements:
·
| Product | Date Added |
|---|---|
| HTML SuperForm HTML::SuperForm | 2008-06-05 21:43:50 |
Flyspray |
From category: Quality-Assurance-and-Testing |
| Flyspray 0.9.8 is quality assurance and testing software developed by Tony Collins. Flyspray is an uncomplicated, web-based bug tracking system for assisting with software development. It was origi... | |
ArchWay 0.2.1 |
From category: Version-Control |
| ArchWay 0.2.1 is version control software developed by Clint Adams. ArchWay is a full-featured graphical user interface for the GNU Arch revision control system. It includes a set of special... | |
Adevs |
From category: Libraries |
| adevs is a C++ library for developing discrete event simulations based on the Parallel DEVS and DSDEVS formalisms.... | |
Audio::ConvTools 0.08 |
From category: Libraries |
| Audio::ConvTools 0.08 is libraries software developed by Michael Hooreman. Audio::ConvTools is a API to convert audio files from/to mp3 ogg and wav. SYNOPSIS use Audio::ConvTools; \... | |
Cayenne |
From category: Libraries |
| Cayenne 1.2.1 is libraries software developed by Andrus Adamchik. Cayenne is a powerful, full-featured Java Object Relational Mapping framework. Cayenne project is open source and completely free.... | |
libepc |
From category: Libraries |
| libepc is an EPC library for GNOME.... | |
Eleven |
From category: Compilers |
| Eleven 1.0 is compilers software developed by Joe Morrison. Eleven is a programming language for creating robust, scalable web applications quickly and easily. It offers a 20x programmer pro... | |
Escher |
From category: Libraries |
| Escher 0.2.3 is libraries software developed by Stephen Tse. Escher is a Java X11 library. Escher is a collection of libraries for X Window System written purely in Java. It consists... | |
Rbpar |
From category: Libraries |
| Rbpar is a program and an accompanying library suite designed for formatting text paragraphs.... | |
gdl |
From category: Libraries |
| gdl provides components and libraries for Gnome development.... | |
OpenDBX |
From category: Libraries |
| OpenDBX is an extremely lightweight but extensible C library for accessing databases with a single API.... | |
Language MuldisD |
From category: Perl-Modules |
| Language::MuldisD contains a formal spec of Muldis D relational DBMS language.... | |
G-Inspector 20050529 |
From category: Debuggers |
| G-Inspector 20050529 is debuggers software developed by AOSASA Shigeru. G-Inspector is a GLib(GTK+) object/class inspector. Requirements: glrr glrr-widgets What\'s New in This... | |
bit |
From category: Libraries |
| bit 0.3.0 is libraries software developed by Rick L Vinyard, Jr. bit is a C++ library for manipulating buffers containing data fields that are not octet (byte) aligned. Binary data formats c... | |
libdbi drivers |
From category: Libraries |
| libdbi implements a database-independent abstraction layer in C, similar to the DBI/DBD layer in Perl.... | |
| 1. Able Fax Tif View |
| Able Fax Tif View is a FAX, TIF, PDF, EPS, PS, AI, DCX, DICO... |
| 2. Access Manager for Windows |
| Access Manager for Windows is a feature-rich software that a... |
| 3. Vista User Time Manager |
| Vista User Time Manager is a powerful software that enables ... |
| 4. River Past Video Cleaner |
| River Past Video Cleaner is an easy-to-use, flexible, powerf... |
| 5. Tube Explorer Lite |
| Tube Explorer Lite is a smart tool that will help you browse... |
| 6. Convert MPEG To WMV |
| EZ MPEG To WMV Converter is an easy to use video conversion ... |
| 7. Convert Video To AVI |
| EZ Video TO AVI Converter has a powerful media conversion en... |
| 8. A-one Video Convertor |
| A-one video converter is a powerful tool that offers you an ... |
| 9. ALPass |
| ALPass is a smart tool that allows you to automatically logi... |
| 10. Smart Pix Manager |
| Smart Pix Manager is a powerful, feature-rich and user-frien... |
| 1. Google Chrome – It’s Finally Here. Will A Revolution Begin? |
| First, it was the rumors. Then, Google announced it official... |
| 2. An Amazing Free Document Processing Software: LyX |
| The documents management task could be difficult in absence ... |
| 3. DownloadTube Toolbar is Available For Free Download |
| Recently, we have made available for free download the Dow... |
| 4. A Revolution in Web Browsing: The New Firefox 3.1b1 Already Beats All Speed Records |
| The latest beta1 release of Mozilla Firefox 3.1 shows majo... |
| 5. Some Little, Nice, Freeware Tools You May Never Know When You'll Need |
| This time I won’t speak about a single freeware program that... |
| 6. How To Increase The Quality of Your News Articles For Search Engine Spiders |
| The process of articles publishing is a common practice to... |
| 7. Digg in Press: Tips and Opinions |
| Regarding Digg social bookmarking service there are many a... |
| 8. Ubuntu Linux and Windows Can Share The Desktop In Absence Of Virtual Machines |
| Many people asked themselves how to run Ubuntu Linux and W... |
| 9. 2.5 Millions Downloads for FireTune: It Makes Mozilla Firefox To Run With The Speed of Light |
| It is well known the fact that even the latest version of M... |
| 10. Image Galleries on Autopilot: Instant Gallery Maker |
| The creation of image galleries ready for web publishing... |
| 1. Azure CMS |
| Azure CMS is a universal software product for the developmen |
| 2. Azure Portal |
| Azure Portal is a social networking script made with PHP pro |
| 3. One Frog |
| One Frog is a content management system that allows you to u |
| 4. Cigmas CMS |
| Cigmas CMS is a powerful web content management system for g |
| 5. WebWord CMS |
| WebWord CMS is a full featured web content management system |
| 6. Marjetica Content Management System |
| Marjetica Content Management System is a powerful, easy to u |
| 7. Phenotype CMS |
| Phenotype CMS is a PHP/MySQL - Smarty Content Application Fr |
| 8. Chupix CMS |
| Chupix is a content management system written in PHP and sto |
| 9. Interspire Website Publisher |
| Interspire Website Publisher (formerly ArticleLive) is a con |
| 10. Interspire Email Marketer |
| Interspire Email Marketer (formerly SendStudio) is a web bas |
| 11. Comments RAM |
| Comments RAM is a lightweight PHP script that allows you to |
| 12. KoolAjax |
| KoolAjax facilitates data exchange between server-side and c |
| 13. KoolTreeView |
| KoolTreeView is a unique treeview control for PHP. |
| 14. petitforum |
| This is a little discussion board which does not use MySQL a |
| 15. eliteCMS |
| Elite CMS is an ideal content management system for a small |
| 16. TotalW |
| TotalW is a simple to install and use file manager written i |
| 17. alizer |
| alizer is a PHP script that analyzes the Apache log file.It |
| 18. dpDebug 2 |
| dpDebug 2 allows you to track down any problem with certain |
| 19. Projector |
| Projector is a very simple project management system that is |
| 20. Ticket Support System |
| Ticket Support System is an online PHP / MySQL based script |
Leave a comment