[html-formfu] Re: setting fieldset title
Adam Witney
awitney at sgul.ac.uk
Wed Jun 17 15:57:06 GMT 2009
On 17 Jun 2009, at 16:51, Lance A. Brown wrote:
>
>
> Adam Witney wrote:
>>
>> Hi,
>>
>> Can the Fieldset title be set using FormFu? I have used things like
>> this
>>
>> - type: Fieldset
>> name: Testing1
>> attrs:
>> title: testing2
>>
>> but the output always contains null ...
>>
>> .... {"title":null,"autoHeight":1,"xtype":"fieldset","items":[ .....
>>
>> I am using this with HTML-FormFu-ExtJS by the way. (Is this the right
>> list for this question?)
>
> I think you want the 'legend' tag:
>
> - type: Fieldset
> name: Testing1
> legend: Testing2
thanks for the quick response, that works perfectly.
Is it possible to add attributes to the Fieldset also eg
checkboxToggle: true
collapsed: true
thanks again
adam
More information about the HTML-FormFu
mailing list