[html-formfu] Re: Problem with form generation/rendering

Will Hawes wdhawes at gmail.com
Thu Oct 4 17:13:17 GMT 2007


On 04/10/2007, Will Hawes <wdhawes at gmail.com> wrote:
>
> I'm using the 0.1005 release from CPAN.
>
> This script:
>
> #!/usr/bin/perl -w
> use strict;
> use HTML::FormFu;
> my $form =3D HTML::FormFu->new;
> $form->element( 'Text', { name =3D> 'test' } );
> print $form;
>
> Prints this:
>
> <style type=3D"text/css">
> .labels_with_errors {
>   font-weight: bold;
>   color: #f00;
> }
> </style>
>
> <form id=3D"" action=3D"" method=3D"">
>
>   <p><ul>
>
>
>
>     </ul></p>
>
> </form>
>
> Something odd is going on, any ideas?
>


Follow up - rev 437 from svn prints something more expected using the same
script:

<form action=3D"" method=3D"post">
<span class=3D"text">
<input type=3D"text" />
</span>
</form>

Something is definitely amiss with the CPAN release.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/html-formfu/attachments/20071004/8d=
ffd3ef/attachment.htm


More information about the HTML-FormFu mailing list