PDA

View Full Version : how can i set the dom property "name" of an Ext.form.FormPanel?



Katha
16 Jun 2011, 6:21 AM
Hi,

i have an Ext.form.FormPanel and i am searching for a possibility to set the property "name" of the generated forms dom to get something like this:

<form name="myName">...</form>Ive tried all I could imagine, but without any success. Is there anybody who can tell me how to do this?

Any help would be appreciated.

Thanks.

skirtle
17 Jun 2011, 8:30 AM
formPanel.getForm().getEl().set({name: 'myName'});