Magnix
10-01-2008, 08:46 PM
Im trying to make the if statement to work on one radiobutton.
if ( yes_servRB.enabled )
{
formData.varYesProServ = "Selected";
}
else
{
formData.varYesProServ = "Unselected";
}
The radiobutton is set false to disable it, and if I click on the radiobutton to enable it, it displays "Selected" on the log.txt, but If I leave it disabled after I hit the submit button, the log.txt STILL shows "Selected" (?????) What did I do wrong with this if statement?
The codes above are outside of the submit button using btnSubmit.onRelease = function ().
Thanks!
if ( yes_servRB.enabled )
{
formData.varYesProServ = "Selected";
}
else
{
formData.varYesProServ = "Unselected";
}
The radiobutton is set false to disable it, and if I click on the radiobutton to enable it, it displays "Selected" on the log.txt, but If I leave it disabled after I hit the submit button, the log.txt STILL shows "Selected" (?????) What did I do wrong with this if statement?
The codes above are outside of the submit button using btnSubmit.onRelease = function ().
Thanks!