[html-formfu] ContentButton name attribute
Octavian Râsnita
orasnita at gmail.com
Fri Nov 6 09:55:43 GMT 2009
>> 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
More information about the HTML-FormFu
mailing list