case 'input':\r
switch(iwfAttribute(el, 'type')){\r
case 'checkbox':\r
+ if (iwfAttribute(el, 'checked')){\r
+ val = 'on';\r
+ }\r
case 'radio':\r
- if (iwfAttribute(el, 'checked') || el.checked){\r
- val = iwfAttribute(el, 'value') || el.value;\r
+ if (iwfAttribute(el, 'checked')){\r
+ val = iwfAttribute(el, 'value');\r
}\r
break;\r
case 'button':\r