I can't seem to get the value in a simplified field notation to change when my
radio button is checked. The button is named btnMiles and the text box is
txtRate. When the radio button is checked I need the value in the sfn to change
and if it is unchecked to go back to normal.
Anyone have any ideas on this? something so simple can drive you nuts!!!! lol
thanks in advance. javascript is great but at times so hard to see somethings
// Define the two possible rates (just an example)
var rate1 = 5.5;
var rate2 = 7.5;
// Get a reference to the Rate field
var fRate = getField("txtRate");
if (event.target.value != "Off") {
// If this check box is unchecked, use rate1
fRate.value = rate1;
} else {
// If this check box is checked, use rate2
fRate.value = rate2;
}
George