Thread: radio buttons
View Single Post
# 3 30-09-2006 , 11:26 AM
Dann's Avatar
Registered User
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Yeah, I had it working that way too. I'm thinking maybe radio buttons can only retun numeric values. S'ok, I'm just going to work around it.

int $radioValue = `radioButtonGrp -q -sl radioOptions`;
string $radioAction;

if ($radioValue == 1)
{ $radioAction = "Field Of Pain"; }
else
{ $radioAction = "All Other Boxes"; }

print ("Running the procedure on " + $radioAction +"\n");

Thanks for looking though. Nice to know it wasn't just me. :p