[html-formfu] Missing date elements

Ronald J Kimball rkimball+formfu at pangeamedia.com
Mon Jun 23 16:03:50 BST 2008


Since upgrading from 0.02004 to 0.03001, my date elements have been 
getting rendered without the actual select fields.  For example:

#!/usr/bin/perl

use strict;
use warnings;

use HTML::FormFu;

my $form = HTML::FormFu->new(
);

my @elements =
   [{
     name        => "birth_date",
     label       => "Birth Date",
     type        => "Date",
    },
   ];

$form->populate({ elements => \@elements });

print "$form\n";

__END__

produces:

<form action="" method="post">
<div class="date label">
<label>Birth Date</label>
<span class="elements">
</span>
</div>
</form>


I'm at a loss as to what is causing this.

thanks,
Ronald



More information about the HTML-FormFu mailing list