I'm trying to create a pdf form where one field value is calculated by the other but I can't seem to figure out how to make it work. Can you please assist?
A person enters a number in Field 1 that is between 0 and 10
Field 2 populates a number based off of that input.
A person enters a number in Field 1 that is between 11 and 20
Field 2 poputlates a different number based off of that input.
In JS the comparison operator is "==" (or "===").
Yes, thank you!
Hi, i'm trying to do something similar in a timesheet, but what I want is if the total hours add up to more than 40, the excess hours move to the next field. Aka employee 1 worked 43 hours, field 1 (regular hours) totals 40 and field 2 (OT Hrs) totals 3, without the employee having to type it in. Any help would be great, i'm only just learning how to write calculation scripts, so variations are super new.