0 Replies Latest reply on Jun 15, 2010 8:36 AM by VLRport

    Using Radio Buttons to Determine Calculation

    VLRport

      Hi,

       

      I am very new at JavaScript and am creating a PDF form. I have a radio button called Rate with 2 values of Pay and Bill. There is another radio button called Payroll with 2 values of Internal and External. If Pay is selected then the Pay Rate field is a required field, otherwise the Bill Rate field is required. The required number is multiplied (if pay) or divided (if bill) by a number assigned to Internal and External to determine the bill or pay rate (whichever I didn't have to begin with). Any help on this would be wonderful. Thanks.