25 Nov 2012 10:39 PM #1
Unanswered: Posting 'true-false' on 'check' and 'uncheck' of checkbox
I have a form containing many 'checkboxes'. The values for those checkboxes are being posted as 'on'/'off'. But instead I want to use 'true'/'false'. How can this be achieved?
26 Nov 2012 12:29 AM #2
use "inputValue" config
Which framework are you useing ? if it is 4.1.x then default value of check box is on/off.
you can also use inputValue config of check box.
For more info read API docs -http://docs.sencha.com/ext-js/4-1/#!/api/Ext.form.field.Checkbox-cfg-inputValuesword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.
2 Dec 2012 1:41 AM #3
3 Dec 2012 12:56 AM #4
3 Dec 2012 9:12 AM #5
3 Dec 2012 1:16 PM #6
You extended the original ExtJs checkbox class and you don't know where to go with the file, do you?