2008/10/9  <[EMAIL PROTECTED]>:
>
>
>
> On Thu, 09 Oct 2008 11:07:04 +1100, Ron Savage <[EMAIL PROTECTED]> wrote:
>> Hi Ron
>>
>>> <==8><==>
>>> [EMAIL PROTECTED]:~/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.

Just to clarify... If you're wanting to find a field, you should
generally just use get_field() / get_fields() which search
recursively.

get_element() / get_all_elements() are for more detailed introspection
where you need to know what things are attached to what.

Carl

_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to