[html-formfu] Re: setting fieldset title

Lance A. Brown lance at bearcircle.net
Wed Jun 17 15:51:13 GMT 2009



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

--[Lance]

-- 
 GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9
 CACert.org Assurer



More information about the HTML-FormFu mailing list