On Tue, Mar 2, 2010 at 5:09 AM, Carl Franks wrote:
> If you're calling $form->model->default_values()
> it should automatically expand the repeatable block.
>
> If you're not, you'll need to do something like:
>
> if ( ! $form->submitted ) {
> $form->get_all_element({ type => 'Repeatable' })->r
On 1 March 2010 18:56, Brian Cassidy wrote:
> On Mon, Mar 1, 2010 at 2:52 PM, Carl Franks wrote:
>>
>> I think you'll also need to set 'new_rows_max'.
>
> Adding "new_rows_max: 3" shows no change in the rendered form.
Ah, you didn't say at what stage the problem was ;)
If you're calling $form->
On Mon, Mar 1, 2010 at 2:52 PM, Carl Franks wrote:
>
> I think you'll also need to set 'new_rows_max'.
Adding "new_rows_max: 3" shows no change in the rendered form.
--
Brian Cassidy (brian.cass...@gmail.com)
___
HTML-FormFu mailing list
HTML-FormFu@
On 1 March 2010 15:43, Brian Cassidy wrote:
> This may be a "Monday" issue, but I can't seem to get this simple
> example to work. I simply want to be able to enter 3 "sponsors" in my
> create form (note, the snippet below is part of a larger form). I only
> ever get 1 set of name-type pairs.
>
>
This may be a "Monday" issue, but I can't seem to get this simple
example to work. I simply want to be able to enter 3 "sponsors" in my
create form (note, the snippet below is part of a larger form). I only
ever get 1 set of name-type pairs.
Can anyone hit me with a clue bat?
- type: Hidden
nam