[html-formfu] FormFu produces invalid tags of "empty HTML elements"?

Carl Franks fireartist at gmail.com
Tue Mar 24 13:31:11 GMT 2009


2009/3/24 Mario Minati <mario.minati at googlemail.com>:
> You can use HTML::FormFu::Element::Image:
>
> - type: Image
>  src: path/to/my/image.png
>  id: my_image
>  attributes:
>    alt: foo bar

Only if you want an image button.

Image inherits from Field, and so requires a 'name' to be set, and
would cause the form to allow a key/value to be submitted for that
name.

Carl



More information about the HTML-FormFu mailing list