View Full Version : HiddenField not posting value?

24 Jan 2011, 4:49 AM
I am posting the following field value in a form and checking the form collection immediately on the server. All textfield, selectfields, number fields post correctly with values, but I have one hiddenfield on the form defined as:

id: 'order_b_pay_meth',
xtype: 'hiddenfield',
name: 'order_b_pay_meth',
value: 'card'

The field is in the form collection but the value is blank. Is there a bug with this by chance, or do I need to set another property for hidden fields to get the value to post? Using Touch 1.0.2


P.S. I am doing a form.submit with method: 'POST' btw

24 Jan 2011, 7:31 AM
Another bug with 1.0.2? :D

They are posting fine with 1.0.1a. Before you do your submit, do a getValues() on the FormPanel, is the value there or no?

24 Jan 2011, 2:35 PM
This is working fine now...no idea what was wrong earlier....damn gremlins. :)