Download CGI::QuickForm - CGI::QuickForm is a Perl module that provides a quick and simple mechanism for providing on-line...
Software Index
Linux Software Programming  


download download home home   report broken
important software information
company name:
Mark Summerfield
license: Freeware
minimum requirements:
functional limitations:
CGI::QuickForm description
CGI::QuickForm is a Perl module that provides a quick and simple mechanism for providing on-line CGI forms.

When show_form executes it presents the form with the fields requested. As you can see from the minimal example at the beginning of the synopsis it will default everything it possibly can to get you up and running as quickly as possible.

If you have specified any validation it will validate when the user presses the submit button. If there is an error it will re-present the form with the erroneous fields marked and with all the data entered in tact. This is repeated as often as needed. Once the user has corrected all errors and the data is valid then your &on_valid_form subroutine will be called so that you can process the valid data in any way you wish.

Note that EXAMPLE #1 and EXAMPLE #2 are in this pod; example1, example2, etc. are supplied as files.


# Minimal example. (Insecure no error checking.)

#!/usr/bin/perl -w
use strict ;
use CGI qw( :standard :html3 ) ;
use CGI::QuickForm ;

-ACCEPT => &on_valid_form, # You must supply this subroutine.
-TITLE => 'Test Form',
-FIELDS => [
{ -LABEL => 'Name', }, # Default field type is textfield.
{ -LABEL => 'Age', }, # Stored in param( 'Age' ).
) ;

sub on_valid_form {
my $name = param( 'Name' ) ;
my $age = param( 'Age' ) ;
open PEOPLE, ">>" ;
print PEOPLE "$name $age
" ;
close PEOPLE ;
print header, start_html( 'Test Form Acceptance' ),
h3( 'Test Form Data Accepted' ),
p( "Thank you $name for your data." ), end_html ;

# All QuickForm options (aide memoir)

#!/usr/bin/perl -w
use strict ;
use CGI qw( :standard :html3 ) ;
use CGI::QuickForm ;

-ACCEPT => &on_valid_form,
-BORDER => 0,
-FOOTER => undef,
-HEADER => undef,
-INTRO => undef,
-LANGUAGE => 'en',
-USER_REQUIRED => undef,
-USER_INVALID => undef,
-TITLE => 'Test Form',
-VALIDATE => undef, # Set this to validate the entire record
-SIZE => undef,
-MAXLENGTH => undef,
-ROWS => undef,
-COLUMNS => undef,
-CHECK => 1,
-SPACE => 0, # Output some newlines to assist debugging if 1
-NAME => undef,
-onsubmit => undef,
-JSCRIPT => {},
-STYLE_ROW => '',
-STYLE_WHY => '',
-FIELDS => [
-LABEL => 'Personal Details',
-COLSPAN => 2,
-END_ROW => 1,
-LABEL => 'Name',
-START_ROW => 1,
-END_ROW => 1,
-COLSPAN => 1,
-REQUIRED => undef,
-TYPE => 'textfield',
-VALIDATE => undef, # Set this to validate the field
-CLEAN => undef, # Set this to clean up valid data
-DESC => undef,
-STYLE_FIELDNAME => '', # If set over-rides form-level setting
-STYLE_FIELDVALUE => '', # If set over-rides form-level setting
-STYLE_ROW => '', # If set over-rides form-level setting
# Lowercase options are those supplied by
-name => undef, # Defaults to -LABEL's value.
-default => undef,
-size => 30,
-maxlength => undef,
# For all others: same QuickForm options as above
# and all options (which vary with -TYPE) available
-LABEL => 'Address',
-TYPE => 'textarea',
-rows => 3,
-columns => 40,
-LABEL => 'Password',
-TYPE => 'password_field',
-LABEL => 'Hair colour',
-TYPE => 'scrolling_list',
'-values' => [ qw( Red Black Brown Grey White ) ],
-size => 1,
-multiples => undef,
-LABEL => 'Worst Sport',
-TYPE => 'radio_group',
-values => [ qw( Boxing Cricket Golf ) ],
-default => 'Golf',
# Any other field can be used in the same way.. . C++, Qt, Python, and PyQt, training and consultancy
Similar software
CGI::Panel (Popularity: ) : CGI::Panel is a Perl module that allows applications to be built out of simple object-based components. It'll handle the state of your data and objects so you can write a web application just like a desktop app. You can forget ...
CGI::Session::Driver::aggregator (Popularity: ) : CGI::Session::Driver::aggregator is a CGI::Session driver to aggregate some CGI::Session drivers.


use CGI::Session;
use CGI::Session::Driver::aggregator::Drivers;
use DBI;

$dbh = DBI->connect('DBI:mysql:cgi_session;host=localhost', 'root', '');
$drivers = CGI::Session::Driver::aggregator::Drivers->new;
$drivers->add('file', { Directory => '/tmp' });
$drivers->add('mysql', { Handle => $dbh });
$s = CGI::Session->new('driver:aggregator', $sid, ...

MYSQL DATA MANAGER (Popularity: ) : Mysql Data Manager is an advanced instrument for the online management of databases over the Web.
This is an all-inclusive web based mysql front end providing a powerful interface for databases management, development and maintenance. Easy installation and intuitive interface make ...

WebGUI (Popularity: ) : WebGUI is a content management framework built to allow average business users to build and maintain complex Web sites.

It is modular, pluggable, and platform independent. WebGUI was designed to allow the people who create the content to manage it online, ...

YATG (Popularity: ) : YATG is a Perl module which is intended to be run persistently. At intervals it will wake up and poll network devices for SNMP data, and then store or print that data. In this distribution are also included examples for ...
Apache::GTopLimit (Popularity: ) : Apache::GTopLimit is a Perl module that will run on platforms supported by a Perl interface to libgtop (which in turn needs libgtop).

This module was written in response to questions on the mod_perl mailing list on how to tell the ...

Bottle (Popularity: ) : Bottle is a fast, simple and useful one-file WSGI framework. It is not a full-stack framework with a ton of features, but a useful mirco-framework for small web-applications that stays out of your way.

Bottle only depends on the Python Standard ...

Business::iDEAL::Adyen (Popularity: ) : Business::iDEAL::Adyen is a Perl module that provides a backend to process iDEAL payments through (the non-HPP (Hosted Payment Pages) way).

A word of warning to start with (copied verbatim out of Adyen's iDEAL PDF):

iDeal API Payments are not enabled by ...

CPAN::DistroBuilder (Popularity: ) : PAN::DistroBuilder is a Perl module to create a distro from a bundle or a number of modules from CPAN.


% perl -MCPAN::DistroBuilder -webuild ApacheSDK 0.1 Bundle::Apache

% perl -MCPAN::DistroBuilder -webuild CoolSDK 0.1 MD5 CGI

This package does a very simple thing. It fetches ...

BroadFast (Popularity: ) : Professional but easy to use mailing list manager for $14.95! Manage, import/export or transfer users from existing database; Create and send newsletters, store them for future usage; Send immediately or as a delayed cron job (perfect for a shared host); ...
Catalyst::View::PHP (Popularity: ) : Catalyst::View::PHP is the Catalyst view class for the PHP::Interpreter. Your application subclass should inherit from this class. This plugin renders the template specified in $c->stash->{template}, or failing that, $c->request->match. The template variables are set up from the contents of $c->stash, ...
ClearCase::ClearPrompt (Popularity: ) : ClearCase::ClearPrompt is a Perl module that provides various areas of functionality, each based on clearprompt in some way but otherwise orthogonal. These are:

- Clearprompt Abstraction

Provides a simplified interface to the clearprompt program, taking care of creating and removing temp files ...

User reviews

Write a review:
1 2 3 4 5 6 7 8 9 10
1=poor 10=excellent
Write review*
Your name*
  (Comments are moderated, and will not appear on this site until the editor has approved them)
Similar scripts | cgi tools for your site. (Popularity: ) : CGI tools for your site's easy, unique and FREE !!
This is one of the best free CGI Web sites. It's well-designed, easy to navigate and serves up some extremely useful scripts. At, a free counter, voters poll, message board ...

83 PHP & CGI Scripts Package (Popularity: ) : This is a package collection of the following 83 popular scripts: 1) Banner Management and Tracking System 2) PHP Online Project Management Script 3) PHP Link Listing Script 4) PHP MySQL Yahoo Style Link Directory/Search Engine 5) PHP MySQL Website ...
CGI query string decoder (Popularity: ) : CGI query string decoder decodes a CGI query string. The code uses the new C Standard Template Library (STL), and the decoded query is stored in an STL map. static void get_query(std::map
Minimal http upload cgi (Popularity: ) : This script is a cgi file upload tool. It will display an upload a form and save the uploaded files to disk.
CGI-shell (Popularity: ) : This script runs an arbitrary string on the server as a shell command.It mimics a very basic shell environment on a server using CGI.
Perl CGI XSLT Processor (Popularity: ) : is a pure Perl XSLT processor. It requires XML::Parser and CGI packages and version of Perl 5.6.1 or higher. It supports XSLT 1.0 and XPath 1.0 W3C Recommendation. The built-in HTTP protocol makes the processor to be especially suited ...
CGI Utils Library (Popularity: ) : CGI Utils library consists of two packages: cgi and template.CGI package is just a simple class CGI wrapping the CGI protocol.Template provides a simple way to work with templates.Sessions are hashes of strings. Sessions stored in shared memory with default ...
Custom Made CGI Module (Popularity: ) : Custom Made CGI Module represents the modified version of the built in CGI module.
CGI::ContactForm (Popularity: ) : If you stick with the default layout, CGI::ContactForm lets you create an unlimited number of forms with a minimum of effort. There are various methods to customize the form, and with help of templates, the layout is fully customizable. The ...
5 CGI Scripts with less price (Popularity: ) : With Resell Rights / Build your Profitable Online Business and Start Making Money from your own Website Now! / Here, we provide you with complete cgi script packages that MAKE YOU 100% of the Profits and you can easily run ...
Rate me
supported os's
downloads 10
version 1.93
size in Kb 41
user rating 5/10
our rating 0 Stars
share info
Recommend CGI::QuickForm
Report spyware
New Software
Popular Software
Latest Reviews