I am putting together a form using 8 Pro UI components. I
have a combo box called timeOf_cb. The combo box is loaded with
values from 1-12 for the hours of the day. Directly following I
have a radio button set called timeSet and the two corresponding
radio buttons are labeled AM & PM respectively. in the code
below I receive different values from one trace to the next. I've
been on this for two days now and I need to get on with this
project. It seems like something too simple to get hung up on.
trace(pmTrigger); // Here my output comes out as "false" if
optPM_rb is not chosen
// Format timeOf
if (pmTrigger = "true") // This should not trigger if
"false" but somehow is triggered anyway.
trace(pmTrigger); // Here my output comes out as "true" even
with no change??
timeOfLoss = ((timeOf + 12) * 100);
* The variables have been declared prior to this line of code
as var timeOf, pmTrigger;