I have three radio buttons with number values and need to display the value if one is selected. If none are selected, I need to hide the 0.00 value.
ALSO,
I have three check boxes with number values and need to display the total of these values if one is selected. If none are selected, I need to hide the 0.00 value.
Here's what I tried for the radio buttons:
var mem_class = this.getField("Membership Classification"); mem_class.display = dispay.hidden; if (mem_class > "0") { mem_class.display = display.visible }
Here's what I tried for the check boxes:
var ceesp = +getField("Chief Audit Executive Services Program").value; var fsag = +getField("Financial Services Auditor Group").value; var gag = +getField("Gaming Audit Group").value; if (ceesp + fsag + gag > "0") { this.getField(event.target.name).display = display.visible; } else { this.getField(event.target.name).display = display.hidden; } event.value = +ceesp + fsag + gag;
Not only are my totals invisible--permanently, I now get an error "The value entered does not match the format of the field [Specialty Membership Total]" (which is the total of the three check boxes).
Can anyone help me?
George