Multiple Calculations for Annual or Hourly Salary

New Here ,
May 09, 2022 May 09, 2022

Copy link to clipboard

Copied

I have 4 fields: Hourly, Bi-Weekly, Monthly, Annually. 

 

What I am trying to do is allow managers to enter annual or hourly salary and have the form calculate the remaining fields:

e.g., If I enter 20.00 in hourly, Bi-Weekly = hourly*80, Monthly=hourly*173.3333, Annual=hourly*2080. 

e.g., If I enter 41,600 in annual, Monthly= annual/12, Bi-Weekly=annual/26, hourly, Hourly=annual/2080.

 

Other Option: What i would like is two radio button options (Non-exempt =hourly or Exempt=annaul)

If exempt is selected, the annual field opens and everything is calculated accordingly. If hourly is selected, the hourly field appears and the rest is calculated accordingly. 

 

Hope this makes sens. any help is much appreciated.

 

TOPICS
Create PDFs , JavaScript , PDF forms

Views

41

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 09, 2022 May 09, 2022

Copy link to clipboard

Copied

LATEST

Hi there

 

Hope you are doing well and thanks for reaching out.

 

The workflow that you are trying to achieve is possible using JavaScript. To know more about using JavaScript please check the help pages listed below:

https://helpx.adobe.com/acrobat/using/applying-actions-scripts-pdfs.html

https://acrobatusers.com/tutorials/javascript_console/

 

Regards

Amal

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines