Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 976 Categories, Downloaded 32.289.439 Times

HTML::FormHighlight 0.03

  Date Added: January 18, 2010  |  Visits: 787

HTML::FormHighlight

Report Broken Link
Printer Friendly Version


Product Homepage
Download (72 downloads)

HTML::FormHighlight Perl module can help you to highlights fields in an HTML form. SYNOPSIS use HTML::FormHighlight; my $h = new HTML::FormHighlight; print $h->highlight( scalarref => $form, fields => [ A, B, C ], ); print $h->highlight( scalarref => $form, fields => [ A, B, C ], highlight => *, mark => , all_in_group => 1, ); HTML::FormHighlight can be used to highlight fields in an HTML form. It uses HTML::Parser to parse the HTML form, and then places text somewhere before each field to highlight the field. You can specify which fields to highlight, and optionally supply a CGI object for it to check whether or not an input value exists before highlighting the field. It can be used when displaying forms where a user hasnt filled out a required field. The indicator can make it easier for a user to locate the fields that theyve missed. If youre interested in more advanced form validation, see HTML::FormValidator. HTML::FillInForm can also be used to fill form fields with values that have already been submitted. METHODS new() Create a new HTML::FormHighlight object. Example: $h = new HTML::FormHighlight; highlight() Parse through the HTML form and highlight fields. The method returns a scalar containing the parsed form. Here are a few examples: To highlight the fields A, B and C (form on disk): $h->highlight( file => form.html, fields => [ A, B, C ], ); To highlight the fields A and B with a smiley face (form as a scalar): $h->highlight( scalarref => $form, fields => [ A, B ], highlight =>, ); To highlight the fields A and B if they havent been supplied by form input (form as an array of lines): $q = new CGI; $h->highlight( arrayref => @form, fields => [ A, B ], fobject => $q, ); Note: highlight() will only highlight the first option in a radio or select group unless the all_in_group flag is set to a true value. Heres a list of possible parameters for highlight() and their descriptions: scalarref - a reference to a scalar that contains the text of the form. arrayref - a reference to an array of lines that contain the text of the form. file - a scalar that contains the file name where the form is kept. fields - a reference to an array that lists the fields to be highlighted. If used in conjunction with "fobject" or "fdat", only the fields listed that are empty will be highlighted. highlight - a scalar that contains the highlight indicator. Defaults to a red asterisk (< font color="#FF0000" size="+1" >< b >*< /b >< /font >). mark - a regex specifying where to place the highlight indicator. If this is empty, the indicator will be inserted directly before the form field. The HTML form does not need to contain the text specified in the regex before each form field. highlight() will only use a mark for a field if there is no other form field before the field its highlighting. If there is more than one mark before a field, it will only highlight the last mark. If it doesnt find a mark, it will insert the indicator directly before the form field.

Requirements: No special requirements
Platforms: Linux
Keyword: Field Fields Form Formhighlight Formhighlight Perl Highlight Html Form Htmlformhighlight Libraries Mark Perl Module Programming To Highlights
Users rating: 0/10

License: Freeware Size: 5.12 KB
HTML::FORMHIGHLIGHT RELATED
Libraries  -  Syntax::Highlight::HTML 0.04
Syntax::Highlight::HTML is a Perl module to highlight a HTML syntax. SYNOPSIS use Syntax::Highlight::HTML; my $highlighter = new Syntax::Highlight::HTML; $output = $highlighter->parse($html); If $html contains the following HTML fragment:...
16.38 KB  
Libraries  -  Rose::HTML::Form 0.53
Rose::HTML::Form is a HTML form base class. SYNOPSIS package PersonForm; use Rose::HTML::Form; our @ISA = qw(Rose::HTML::Form); use Person; sub build_form { my($self) = shift; $self->add_fields ( name => { type => text, size =>...
102.4 KB  
Libraries  -  PHP HTML Form Generation and Validation Class 1.0 Beta 3
PHP HTML Form Generation and Validation Class is a PHP class for easy HTML form generation and validation. If youre a web developer you know that designing HTML forms and writing the PHP code for their validation is a really dull task. And if...
133.12 KB  
Web Browser Tools  -  Resizeable Form Fields 0.2.1
Resizeable Form Fields is an extension which allows you to resize HTML form fields, including textareas, select boxes and more. Resize HTML form fields, including textareas, select boxes, text fields, and iframes..
4.1 KB  
Nature  -  Html Form Filler 1.07
Html Form Filler is a useful form fill software.It will help you fill any html form easily and quickly. By every menu item in the ie right button menu you can fill every fill item.One ie menu item fill one form item. Operation is very...
1.12 MB  
Web Authoring  -  HiMail DB 1.2
HiMail DB is a safe cross-platform HTML form mailer, which records submitted content into a database. With JavaScript input validation & sophisticated checks to ensure the form was successfully mailed, presenting suitable options to the user if not.
47 KB  
E-Mail Tools  -  eformmail 2.0
eformmail project is a stand-alone CGI program that accepts an HTML form and emails it. The target email address is not buried in the HTML form, making it impossible for spammers to take advantage of this email address. The output can be...
75.78 KB  
Libraries  -  HTML::WikiConverter::Dialects 0.61
HTML::WikiConverter::Dialects is a Perl module which contains a tutorial on how to add a dialect. SYNOPSIS # In your dialect module: package HTML::WikiConverter::MySlimWiki; use HTML::WikiConverter -dialect; rule b => { start => **, end...
34.82 KB  
Libraries  -  HTML::WikiConverter::Markdown 0.02
HTML::WikiConverter::Markdown is a Perl module to convert HTML to Markdown markup. SYNOPSIS use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => Markdown ); print $wc->html2wiki( $html ); This module contains rules for...
8.19 KB  
Libraries  -  HTML::WikiConverter::Oddmuse 0.52
HTML::WikiConverter::Oddmuse is a Perl module that can convert HTML to Oddmuse markup. SYNOPSIS use HTML::WikiConverter; my $wc = new HTML::WikiConverter( dialect => Oddmuse ); print $wc->html2wiki( $html ); This module contains rules for...
6.14 KB  
NEW DOWNLOADS IN PROGRAMMING, LIBRARIES
Programming  -  Cedalion for Linux 0.2.6
Cedalion is a programming language that allows its users to add new abstractions and define (and use) internal DSLs. Its innovation is in the fact that it uses projectional editing to allow the new abstractions to have no syntactic limitations.
471.04 KB  
Programming  -  Math::GMPf 0.29
Math::GMPf - perl interface to the GMP library's floating point (mpf) functions.
30.72 KB  
Programming  -  Net::Wire10 1.08
Net::Wire10 is a Pure Perl connector that talks to Sphinx, MySQL and Drizzle servers. Net::Wire10 implements the low-level network protocol, alias the MySQL wire protocol version 10, necessary for talking to one of the aforementioned...
30.72 KB  
Programming  -  logilab-common 0.56.2
a bunch of modules providing low level functionnalities shared among some python projects devel Please note that some of the modules have some extra dependencies. For instance, logilab.common.db will require a db-api 2.0 compliant...
174.08 KB  
Programming  -  OpenSSL for linux 1.0.0a
The OpenSSL Project is a collaborative effort to develop a robust, commercial-grade, full-featured, and Open Source toolkit implementing the Secure Sockets Layer (SSL v2/v3) and Transport Layer Security (TLS v1) protocols as well as a...
3.83 MB  
Libraries  -  wolfSSL 3.15.3
The wolfSSL embedded SSL/TLS library is a lightweight SSL library written in ANSI standard C and targeted for embedded and RTOS environments - primarily because of its small size, speed, and feature set. It is commonly used in standard operating...
3.88 MB  
Libraries  -  EuGTK 4.8.9
Makes it easy to develop good- looking, fast, cross-platform programs that run on Linux, OS X, and Windows. Euphoria is a very fast interpreted/compiled language with straight-forward syntax. EuGTK allows programming in a clean, object-oriented...
10.68 MB  
Libraries  -  Linux User Group Library Manager 1.0
The LUG Library Manager is a project to help Linux User Groups start their own library. A LUG library is helpful to the community at large because it increases access to information, and gives everyone the opportunity to become more knowledgeable.
5.35 KB  
Libraries  -  Module::MakefilePL::Parse 0.12
Module::MakefilePL::Parse is a Perl module to parse required modules from Makefile.PL. SYNOPSIS use Module::MakefilePL::Parse; open $fh, Makefile.PL; $parser = Module::MakefilePL::Parse->new( join("", ) ); $info = $parser->required;...
8.19 KB  
Libraries  -  sqlpp 0.06
sqlpp Perl package is a SQL preprocessor. sqlpp is a conventional cpp-alike preprocessor taught to understand SQL ( PgSQL, in particular) syntax specificities. In addition to the standard #define/#ifdef/#else/#endif cohort, provides also...
10.24 KB