[html-formfu] Why does get_all_elements() return a fake element?

onken at houseofdesign.de onken at houseofdesign.de
Thu Oct 9 08:53:36 BST 2008




On Thu, 09 Oct 2008 11:07:04 +1100, Ron Savage <ron at savage.net.au> wrote:
> Hi Ron
> 
>> <==8><==>
>> ron at zoe:~/perl.modules/Local-Contacts/scripts$ ./el.pl
>> Name: N/A. 
>> Name: sid. 
>> <==8><==>
> 
> Could it be the fieldset 'element'?
>

It probably is. If you want to get the sid field only
try $form->get_all_element({type => 'Hidden'});
If you want to know which type an element is
try $element->type.

greets

moritz




More information about the HTML-FormFu mailing list