Carl Franks wrote:
2009/3/5 Ascii King :
Is there some reason this will not work within a repeatable group? I have
this set up and it runs fine unless I move it inside a repeatable block and
then it will not populate.
I don't know, I don't think I've tried it.
Can you take one of the R
2009/3/5 Ascii King :
> Is there some reason this will not work within a repeatable group? I have
> this set up and it runs fine unless I move it inside a repeatable block and
> then it will not populate.
I don't know, I don't think I've tried it.
Can you take one of the Repeatable tests in
HTML-F
Is there some reason this will not work within a repeatable group? I
have this set up and it runs fine unless I move it inside a repeatable
block and then it will not populate.
BTW, you could get rid of all that code to populate $select->options()
by making sure the appropriate Model is in you
Original-Nachricht
> Datum: Thu, 29 Jan 2009 09:17:15 +
> Von: Carl Franks
> An: "HTML Form Creation, Rendering and Validation Framework"
>
> Betreff: Re: [html-formfu] model_stash + model_config with ComboBox element
> Well, my blind g
2009/1/29 Jens Schwarz :
> Hi Carl,
>
>> Hi Jens,
>>
>> Say the select part of a ComboBox has the following options:
>> [ 1 => 'One',
>> 2 => 'Two',
>> 3 => 'Three',
>> ]
>> To have the ComboBox select the correct item, you need to do, for example:
>> $combobox->default( 2 );
>> and not
>>
Hi Carl,
> Hi Jens,
>
> Say the select part of a ComboBox has the following options:
> [ 1 => 'One',
> 2 => 'Two',
> 3 => 'Three',
> ]
> To have the ComboBox select the correct item, you need to do, for example:
> $combobox->default( 2 );
> and not
> $combobox->default( 'Two' );
>
>
2009/1/27 Ascii King :
> What a wonderfully useful tip. Thank you. I didn't understand why I was told
> to put my Model in the stash as it seemed to make no difference. Now I do.
> This is much easier than the long, coded way. However, how can I specify
> which column I want to use in the table? My
2009/1/27 Jens Schwarz :
> Hi,
>
> some weeks ago Carl gave me this useful hint (see below) for populating
> Select elements. Works fine with Select elements. Now I tried to adopt this
> for my ComboBox but failed (just think of the example below being a ComboBox
> instead of a Select): The resu
What a wonderfully useful tip. Thank you. I didn't understand why I was
told to put my Model in the stash as it seemed to make no difference.
Now I do. This is much easier than the long, coded way. However, how can
I specify which column I want to use in the table? My lookup table
contains a fe