Upstream changes:
2.20 - August 10th, 2013
- Updated to support HTML5 (RT #75933, thanks to charsbar)
2.11 - June 3rd, 2013
Updated tests so that they pass with Perl 5.18 (Mark Stosberg)
Changes from previous:
2.1 - August 29th, 2011
Fixed disable_fields option (#52667 Dirk Braun, Goro Fuji)
Add an option to clear absent checkboxes (#44101 Alex Kapranoff)
Fix incorrectly multiple escaped data in list context (#34081 Miika Pekkarinen)
Allow FIF to process the new <input> field types (URL, email, and number) as
defined in the HTML5 draft and already implemented by the iPhone.
(Michael Fisher)
Allow alternate parsing class (Mark Stosberg)
mark invalid fields (Sam Tregar)
ChangeLog:
2.0 - September 11th, 2007
Allow passing an arrayref of hashrefs through fdat (Mark Stosberg, Michael Graham)
Several new shortcuts: (Mark Stosberg)
Allow calling fill() as a class method as a shortcut.
Allow \$html as shortcut for scalarref => \$html
Allow \@html as shortcut for arrayref => \@html
Allow \*html as shortcut for file => \*html
Allow 'html' as shortcut for file => 'html'
Allow $q as shortcut for fobject => $q
Allow \%fdat as shortcut for fdat => \%fdat
In summary, instead of this:
my $fif = HTML::FillInForm->new;
$fif->fill( scalarref => \$html, fdat => \%data );
You can simply write:
HTML::FillInForm->fill( \$html, \%data );
Fixed disable_fields bug (Boris Zentner)
Add support for ID attribute on form tags (name attribute is
deprecated in xhtml) [rt.cpan.org #27376] (Anthony Ettinger)
1.07 - August 2nd, 2007
Added 'disable_fields' method [rt.cpan.org #6342] (Trevor Schellhorn)
Support IE down-level revealed HTML comments [rt.cpan.org #19468] (Michael Peters)
hash is not reset before each() is called [rt.cpan.org #24980] (Simon P. Ditner)
Fix a bug the last plaintext part might be chopped if called via
scalarref [rt.cpan.org #21750] (Tatsuhiko Miyagawa)
Fix bug when passing 0 in array ref to textfields, also see
[rt.cpan.org #22195] (Paul Miller)
No longer generate warning if empty array as the value for a select attribute is passed (Dave Rolsky)
1.06 - October 13th, 2005
Distinguish between selects with and without the multiple attribute set
(Alexander Hartmaier)
Added warnings to PREREQ_PM
1.05 - December 19th, 2004
Added new tests in 19_extra.t (Vsevolod (Simon) Ilyushchenko)
as part of Phalanx
Make it clearer that doesn't have a CGI.pm dependency.
Add HOMEPAGE pointing into search.cpan.org.
Change log (yes, it really says 1.10, but this *is* 1.04. Probably typo.):
1.10 - March 8th, 2004
Now queries passed objects for form fields as it encounters them instead of
asking for all fields up front. This allows the type of object passed
to not have to return all the fields in a empty ->param() call.
(Dave Rolsky)
Generate XHTML-compliant tags (Dave Rolsky)
Documented behavior when passing undef values.
Fixed bug when HTML form has two or more radio buttons and second or
higher radio button is selected. (Dan Kubb)
Made ignore_fields work with fdat, included new test script
18_ignore_fdat.t (James Tolley)
List of changes from 0.29:
- Fixed warning messages when textarea doesn't have a name attribute
- Updated required version number for HTML::Parser to 3.26 in Makefile.PL
- Fixed issue with HTML::Parser decoding high-bit entities, by setting
attr_encoded option, now requires HTML::Parser >= 3.26.
- Workaround for Opera 6.01/02 bug with selected radio boxes - place
space before ending "/>" in <input .. />
Changes since 0.26 :
- Added ignore_fields option (Boris Zentner)
- Added missing ! in declaration handler (Boris Zentner)
- Fill all values with the same name if one value is passed
(Boris Zentner, Gabriel Burka)
- Fixes to pass through comments, processing instructions, and
declarations (Boris Zentner)
Change since p5-HTML-FillInForm-0.11 :
* Added fill_password option (Tatsuhiko Miyagawa)
* Fixed bug with passing single value to multi-valued fields (Maurice Aubrey)
* Added no_debug to use CGI in t/13_warning.t
* Cleaned up warning messages for input fields without a name (Boris Zentner)
* Fixed bug with multiple inputs (Mark Stosberg)
* Updated credits section
* Fixed bug where selected value of '0' were skipped (Trevor Schellhorn)
* Fixed bug where option values between tags had trailing or leading
* whitespace (Ade Olonoh)
* Fixed bug for <input ... /> type tags (Andrew Creer)
* Fix for error message (object -> fobject) (Mark Stosberg)
* Fix for test on HTML escaping (thanks to Jost Krieger for report)
* Added "fill in target form" feature (Tatsuhiko Miyagawa)
* Fixed problems with HTML escaping (Tatsuhiko Miyagawa)
* Works with checkbox tags that don't have value attribute. (Philip Mak)
* Removed warning message for submit tags. (Joseph Yanni)
* Fixed bug when TYPE attr of input tag not set (Martin H. Sluka)
* Added docs on password caching (Mark Stosberg)
* Support for multiple fobjects.
* Fixed bug where new documents were feed into a used $fif object.
This module automatically inserts data from a previous HTML form into the
HTML input, textarea and select tags. It is a subclass of the HTML::Parser
manpage and uses it to parse the HTML and insert the values into the form
tags. One useful application is after a user submits an HTML form without
filling out a required field. HTML::FillInForm can be used to redisplay
the HTML form with all the form elements containing the submitted info.