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 29.983.558 Times

HTML::FormHighlight 0.03

  Date Added: January 18, 2010  |  Visits: 744

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  -  FLEX-db Digital Asset Manager 3.0.9
FLEX-db - an enterprise Digital Asset Manager (DAM). It ingests and links metadata with files, creates thumbnails, and processes files using business rules. FLEX-db has a JSP client, Java app server for file input and output and an EJB metadata...
21.57 MB  
Programming  -  Libicom 0.9.0
The libicom library is a character based dynamicly linked library for Linux. It is used to remotely control the Icom IC-R8500 wide band receiver via an RS232 link. All call and return parameters to the control functions are character string based....
20.48 KB  
Programming  -  dotdesktop 0.3
Dotdesktop library provides ability to parse desktop entry file and access the information in a convenient way. Desktop entry file format is defined by freedesktop.org, it is used to describe information about an application such as the name and...
327.68 KB  
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  -  libyasl 0.2
Libyasl is a C++ class library to easily realize TCP/UDP/Multicast clientsand servers in IPv4 and IPv6 environments under GNU/Linux systems.
143.36 KB  
Libraries  -  wolfSSL 3.12.0
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...
2.73 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