Extjs - Dynamically generate fields in a FormPanel
- by Benjamin
Hi all,
I've got a script that generates a form panel:
var form = new Ext.FormPanel({
id: 'form-exploit-zombie-'+zombie_ip,
formId: 'form-exploit-zombie-'+zombie_ip,
border: false,
labelWidth: 75,
formBind: true,
defaultType: 'textfield',
url: '/ui/modules/exploit/new',
autoHeight: true,
buttons:[{
text: 'Execute exploit',
handler:…