This is resolved. Turns out the value had to be set to true on the widget (i.e. <input type="checkbox" name="mycbox" *value="true"* />)

Weird...
Thanks



Carlos Ch�vez wrote:

Dustin Jenkins Escribio :-)


How do I get the value of the submitted checkbox from a form in my
flowscript?  Currently I have this after the showForm() call:

var model = myForm.getModel();
var cbox_value = model.myCheckBox;

cbox_value always returns false, even when it's checked. Am I doing
this right? All other widgets submit fine.



try model.myCheckBox.booleanValue(), but i never used in that way,

 i'm using myForm.getChild("myCheckBox").getValue().booleanValue()

 Cheers.

 Carlos Ch�vez.



Thanks,
Dustin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]








--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to