Re: [html-formfu] Can't get element name

2009-09-02 Thread Carl Franks
Hi, Are you setting explicit IDs or are you relying on auto_id()? If it's auto_id(), then they're not created until render time - in which case you'll need to inspect $form->render_data() To get the name, you need $element->name(), as it also isn't put into the attributes until render time. A

[html-formfu] Can't get element name

2009-09-02 Thread Ascii King
Why doesn't this code return the name and id of the element? I have declared all of my variables, I just didn't include it here. This code will put the title and maxlength attributes of a text field into the Repeatables_List, but not the id or name. The code is supposed to find a text field t