2 Replies Latest reply on Jan 14, 2012 1:35 PM by adew1984

    Very Simple Overtime Hours Calculation

    adew1984

      I have no experience with JavaScript and need help with a calculation for a simple Acrobat time sheet.

       

      I have a timesheet form that adds and populates a "Total Hours" box, and I would like to automatically populate a "Regular Hours" box and an "Overtime Hours" box (based on a standard 40 hours week).

       

      ex: if "Total Hours" = 55, "Regular Hours" should read 40, "Overtime Hours" should read 15.

      ex: if "Total Hours" = 30, "Regular Hours" should read 30, "Overtime Hours" should read 0.