PDA

View Full Version : Ext.form.hidden submit problem



Soloma
5 Aug 2010, 4:54 AM
Hi

I add this code in my form:



{
xtype:'hidden',
value: 'sdfg sdfg sdf',
id: 'my_id',
name: 'name[0][type]'
}


When I submit form, value of this field is empty.
How to fix it?

Soloma
5 Aug 2010, 6:41 AM
I found the problem.

I use one form for edit all items. And i use Form.reset() before load form data, thats why i have all my predefined fields empty.