PDA

View Full Version : Embedding text in Ext.form.Form



stevefink
7 Sep 2007, 7:19 PM
Hi all,

Is the only way to embed text within Ext.form.Form by physically inserting it into the <div> where the Form gets ultimately rendered?

I'm looking to do something such as the following: http://shell.vaerchi.com/~steve/sample.png

Thanks. :-)

- sf

Animal
7 Sep 2007, 11:48 PM
form.container({
autoCreate: {html:"this is some text"}
});
form.end();

Animal
8 Sep 2007, 12:06 AM
Or there's this extension: http://extjs.com/forum/showthread.php?t=6930