Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Calculating Employee Evaluation Ratings

New Here ,
Oct 14, 2022 Oct 14, 2022

Hi, i'm bit new to creating calculations in Acrobat, so I will need some (serious...or basic for you experts out there) help with this.

How do I calculate an overall (average) rating from multiple fields? For instance, a supervisor will choose the weight function of the specific job duty (.10 to 1.00 - I would rather this be displayed as a % rather than a decimal but couldn't figure it out), then assign a rating for that specific job duty (1-5), which then calculates the weighted rating. 

Cat26602135imlh_0-1665769935824.png

After ther supervisor goes through and completes the job duties, an overall rating is calculated in another field, as well as a field to show the total allocated job percentage that should equal 100%. This is where I am having problems as these two fields are not correct. 

Cat26602135imlh_1-1665770123374.png

The overall rating is not coming out correct, it is also giving me a negative number, and the Total Allocated Job Percentage will not display as 100%. Do I take the weight rating and divide it by the total possible ratings? If so, how can I get it to recognize how many rating were used (since not all supervisors will use every job duty field provided). If rating equals 0 or 5, justification is required - how do I do that?

Here is what it looks like;

Cat26602135imlh_2-1665771094593.png

 

Cat26602135imlh_4-1665771567848.png

Cat26602135imlh_5-1665771618767.png

 

Finally, at the end of the form, I have created a drop down menu of number for the annual merit increase (0-10)%. When I select the proposed percentage increase, the proposed annual salary with performance increase proposed adds up correctly, but I have noticed that the semi-monthly salary with performance increase does not update automatically - it does update AFTER i select another proposed percentage increase, which then is the incorrect data shown. I have no clue why it is doing this.

Cat26602135imlh_6-1665772425927.png

 

 

Any help is greatly appreciated.

Thanks!

 

TOPICS
Create PDFs , How to , PDF forms
1.1K
Translate
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
1 ACCEPTED SOLUTION
Community Expert ,
Oct 16, 2022 Oct 16, 2022
LATEST

Here is an article that will help to get started writing calculation scripts:

https://www.pdfscripting.com/public/Calculating-field-values-and-more.cfm

 

The update problem you are seeing is caused by calculation ordering.  You'll need to make sure that calculations that depend on each other are properly ordered.  To set calculatin order, select the "Prepare Form" tools and click on the "More" menu. 

 

CalcOrder.png 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

View solution in original post

Translate
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
Community Expert ,
Oct 16, 2022 Oct 16, 2022
LATEST

Here is an article that will help to get started writing calculation scripts:

https://www.pdfscripting.com/public/Calculating-field-values-and-more.cfm

 

The update problem you are seeing is caused by calculation ordering.  You'll need to make sure that calculations that depend on each other are properly ordered.  To set calculatin order, select the "Prepare Form" tools and click on the "More" menu. 

 

CalcOrder.png 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Translate
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