I'm looking to use the button attribute but found that the generated HTML
contains a name attribute regardless of whether or not one is set.
Looking
at _Input.pm (the base class for other form elements including Button.pm)
vs
ContentButton.pm there is a clear difference: where _Input.pm checks if
name
is set before adding it to the HTML string, ContentButton.pm just goes
ahead
and adds it regardless.
So, I'm wondering if there is a reason for this behavior, or if it is
something that could be changed in the future?
If you don't want to use that field, you could add the
non_param => 1
property for that field.
Octavian
_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu