yugikhoi
9 Sep 2010, 6:09 PM
Hi,
I made an textbox in a form panel. When I submit form, I can get checkbox value only it is checked. When it noncheck, its value always null. How can i set the value of checkbox when it is noncheck. Below is my code for checkbox:
xtype: 'checkbox',
boxLabel: 'Yes',
name: 'myChK',
inputValue: 'Y',
value: 'N'
Thanks.
I made an textbox in a form panel. When I submit form, I can get checkbox value only it is checked. When it noncheck, its value always null. How can i set the value of checkbox when it is noncheck. Below is my code for checkbox:
xtype: 'checkbox',
boxLabel: 'Yes',
name: 'myChK',
inputValue: 'Y',
value: 'N'
Thanks.