Checkbox conditioned upon value in another text field (or two fields)
How to make these two groups of checkboxes happen?? (note - my checkbox "group" is set up with same name but different choices 'Yes and No' so that they act more like radio buttons) These two checkboxes are independant of each other.
CheckBox1 - Check Yes if A4 >= A5, else No
CheckBox2 - if A7 is "" then "", Check Yes if A7>=A3 or Amount7>=M, else No
Based upon other calcs you have helped me on, I've got my variables set up (I think) but how do I write the rest of the query?
var CB1 = this.getField("CheckBox1"); // Yes or No;
var CB2 = this.getField("CheckBox2"); // Yes or No;
var A1 = this.getField("Amount1").valueAsString; // amount ; .......through A11
var M = this.getField("Minimum").valueAsString; // minimum amount;
{
A3 = Number(A3);
A4 = Number(A4);
A5 = Number(A5);
A7 = Number (A7);
M = Number (M);
if (CB1 = ...............now what?
If it would be easier to change the checkboxes to radio buttons, I could. But would prefer not to.
TIA ~ Michelle
