Hidden form fields
I'm having this problem with a form I'm building: whenever I submit the form I'm able to get the textfield value using $_POST in PHP. But I can't get the hidden values. I'm sure the variables have values (I've a popup box showing with their value before submit, just to be sure).
Any help appreciated
This is part of the code:
items: [
new Ext.form.TextField({
id: 'txtObs',
fieldLabel: 'Comments',
width: 400,
labelStyle: 'width: 150px',
value: ''
}),
new Ext.form.Hidden({
id:'ordnr',
value: orderNumber
}),
new Ext.form.Hidden({
id:'did',
value: distributorId
}),
new Ext.form.Hidden({
id:'tp',
value: totalPrice
})
]
Hugo