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)
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
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.
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
module directory has changed (eg. "darwin-2level" vs.
"darwin-thread-multi-2level").
binary packages of perl modules need to be distinguishable between
being built against threaded perl and unthreaded perl, so bump the
PKGREVISION of all perl module packages and introduce
BUILDLINK_RECOMMENDED for perl as perl>=5.8.5nb5 so the correct
dependencies are registered and the binary packages are distinct.
addresses PR pkg/28619 from H. Todd Fujinaka.
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.
The automatic truncation in gensolpkg doesn't work for packages which
have the same package name for the first 5-6 chars.
e.g. amanda-server and amanda-client would be named amanda and amanda.
Now, we add a SVR4_PKGNAME and use amacl for amanda-client and amase for
amanda-server.
All svr4 packages also have a vendor tag, so we have to reserve some chars
for this tag, which is normaly 3 or 4 chars. Thats why we can only use 6
or 5 chars for SVR4_PKGNAME. I used 5 for all the packages, to give the
vendor tag enough room.
All p5-* packages and a few other packages have now a SVR4_PKGNAME.
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.