Posted on 2012-03-13
I have a series of check boxes, 5 of them to be specific. I then have a radio button for member or non member and one more check box for additional service fee. I then have a total text box.
What I would like to do is have the script calculate the total off of the radio button value they are set to 110 and 130. then multiply the number of check boxes checked by 50$ and add the additional service fee to the total if checked. I would like this amount to show up in the Total value text box.
I am not sure how to do the radio buttons. would I do 2 if statements? one for if(this.getField("Naturalist_Membership").value == "110" then ... and one for if (this.getField("Naturalist_Membership").value == "130" then ...?