[html-formfu] Syntax for $form->element->repeat(5)
Carl Franks
fireartist at gmail.com
Mon Jul 23 10:08:36 GMT 2012
On 23 July 2012 11:02, <scott at simpzoid.com> wrote:
> <elements>
> type Repeatable
> name row
> I would be grateful if someone could point out the correct syntax for:
> $form->element->repeat(5)
$form->get_all_element({ name => 'row' })->repeat(5);
get_all_element() returns the first matching element, and searches all
descendants, whereas get_element() would just search immediate
children.
Carl
More information about the HTML-FormFu
mailing list