I have the code, I can't figure out how to write in a text field in Adobe.
I want to find if a number is within a certain range, if it is within this range, I want to assign a field a certain percentage.
Here is the code:
Define Vars
var TotalScore = this.getField("Total_Scores").value;
var HighA = this.getField("Range_2").value;
var LowA = this.getField("Range_1").value;
var HighB = this.getField("Range_4").value;
var LowB = this.getField("Range_3").value;
var HighC = this.getField("Range_6").value;
var LowC = this.getField("Range_5").value;
var HighD = this.getField("Range_8").value;
var LowD = this.getField("Range_7").value;
It's the increase
var rate1 = this.getField("Salary_1").value;
var naturel2 = this.getField("Salary_2").value;
var revenu3 = this.getField("Salary_3").value;
var mensuel4 = this.getField("Salary_4").value;
That's where the value of end will go
var IncreasePer = this.getField("Increase_Per").value;
If statement
If (TotalScore > = LowA & & TotalScore < = HighA) {}
IncreasePer.value = rate1;
}
If (TotalScore > = LowB & & TotalScore < = HighB) {}
IncreasePer.value = naturel2;
}
If (TotalScore > = LowC & & TotalScore < = HighC) {}
IncreasePer.value = revenu3;
}
If (TotalScore > = LowD & & TotalScore < = HighD) {}
IncreasePer.value = revenues4;
}
I'm doing a form of merit increase where the overall rating of the employee puts into 1 of 4 categories. The percentages are just random numbers that we came with to test the form.
De | To | % of stimulus |
---|---|---|
40 | 50 | 5.0 |
30 | 39 | 2.5 |
20 | 29 | 1.0 |
10 | 19 | 0 |
0 | 9 | 0 |
Any help or Insight is appreciated!
Change this line:
var IncreasePer = this.getField("Increase_Per").value;
To do this:
var IncreasePer = this.getField ("Increase_Per");
Tags: Acrobat
Similar Questions
-
I installed a new router (Netgear R6220) and cannot figure out how to get the P1102w printer to recognize the new router. It shows the former name of the router (Belkin.833) on the test page and displays the IP address configured by AutoIP rather than DHCP as the old router does. The computer is a desktop Dell Dimenstion about 3 years and use Windows 7. The router connects to the computer to the Internet.
Help - How to make the printer recognize and communicate with the new router? (The original installation instructions don't seem to work for me.)
I made an update of the firmware a few months ago and the currtent datecode is 20130703. Allowed to print from my Samsung S2 Tablet through the router.
Here's what finally worked.
1 had to withdraw from old installation CD but Uninstall selected, so I completely shut down the computer. Guy at Best Buy said to "remove the device" but it was not enough.
2. download install the latest software from the HP download site and ran it. (http://ftp.hp.com/pub/softlib/software13/COL32431/bi-80329-11/hp_LJP1100_P1560_P1600_Full_Solution-v20120831-50157036_SMO.exe)
3 downloaded another file and ran it. (Setup_IP4, [192_168_1_5], [NPI073E2D] _it) Not sure where I found this one, but the software prompted me to run.
Finally, everything works and all devices are wireless printing
-
I would turn off the Yahoo toolbar; but can't figure out how.
I have loaded down the latest version of Firefox, and now I have an AOL and Yahoo toolbar. I want to disable Yahoo; but can't figure out how. Thank you.
You should be able to disable or remove the toolbar Yahoo here:
Orange Firefox button or Tools menu > Modules
On the left side, click on Extensions
A little luck?
-
I can't figure out how to open the port of CD.
* Original title: CD player
I can't figure out how to open the port of CD. There are no buttons, and online forums have not helped. Any suggestions?
Of course - just go on this PC (or computer) and r / click on the DVD/CD drive - you should see "eject" as shown below. Usually there will be a button in the center of the disc too... but sometimes well hidden tray! -Ric.
-
I bought Lightroom 5 of B & H Photo a few months ago and since then have now upgraded computers. This new computer doesn't have a hard drive and I can't figure out how to download it on my new computer. I must not have created an Adobe account when I initially purchased and downloaded on my other computer. How can I still download it if the serial number does not appear in my plans and products page? I still have the drive and everything that came with it.
Hello
Please download the Lightroom 5 application from the link below.
http://prodesigntools.com/Lightroom-5-DDL-comparison-vs-LR4.html
Serial number - please visit https://helpx.adobe.com/x-productkb/global/find-your-serial-number.html
Let us know if this helps!
Kind regards
Vivet
-
Hello, I accidentally opened an old file Ircat... and now can't figure out how to return to my only current. With the help of Mac Yosemite, Lightroom CC
Thank you!
File-> open recent. Lists the catalogs you have opened and will allow you to choose one of the previous catalogues.
-
I have Adobe Premiere pro, and I can't figure out how to ensure that the video is a file .avi, .flv or a .mov. Can someone help me with this?
The individual pages of the CS5 also have links to the pages of CS4 user guide
CS5 User Guides - online and PDF (link PDF right click to save the PDF to your hard drive)
CIHI tutorials
http://forums.Adobe.com/thread/913334
http://forums.Adobe.com/thread/845731
- and http://forums.adobe.com/message/3234794
Still http://tv.adobe.com/show/learn-encore-cs4/
A 'crash course' http://forums.adobe.com/thread/761834
A primer of video for first http://forums.adobe.com/thread/498251
First tutorials http://forums.adobe.com/thread/424009
CS5 Premiere Pro tutorials http://forums.adobe.com/message/2738611
And http://blogs.adobe.com/premiereprotraining/2010/06/video_tutorials_didacticiels_t.html
And http://blogs.adobe.com/premiereprotraining/2010/06/how_to_search_for_premiere_pro.html
CS5 tutorials http://bellunevideo.com/tutlist.php
PPro Wiki http://premierepro.wikia.com/wiki/Adobe_Premiere_Pro_Wiki
Tutorial http://www.tutorialized.com/tutorials/Premiere/1
Tutorial http://www.dvxuser.com/V6/forumdisplay.php?f=21
Tutorial HD to SD w/CS4 http://bellunevideo.com/tutorials/CS4_HD2SD/CS4_HD2SD.html
First Pro Wiki http://premierepro.wikia.com/wiki/Main_Page
Export to DVD http://help.adobe.com/en_US/premierepro/cs/using/WS3E252E59-6BE5-4668-A12E-4ED0348C3FDBa.h tml
And http://help.adobe.com/en_US/premierepro/cs/using/WSCDE15B03-1236-483f-BBD4-263E77B445B9.ht ml
Http://forums.adobe.com/thread/892861 color correction
Photo graduation for video http://forums.adobe.com/thread/450798
-Too big can = Crash http://forums.adobe.com/thread/879967
After effects http://www.videocopilot.net/ tutorials
Creation http://www.videocopilot.net/tutorials/dvd_authoring/
Yet tutorial http://www.precomposed.com/blog/2009/05/encore-tutorial/
And still more http://library.creativecow.net/articles/devis_andrew/
Surround sound http://forums.adobe.com/thread/517372
-
Like right now I'm on a website (Facebook) and something that I hit on the mouse, it is tiny and I can't figure out how to make more. When I finally grow it how I keep so it blocks and not keep coming back to small?
http://www.SevenForums.com/tutorials/443-DPI-display-size-settings-change.html
-
I reinstalled adobe CS6. my other macs, I had a printer named 'Adobe PDF', that I could choose that as my printer and a dialogue box came up, I named the file and the location. I can't figure out how to get this done on my new mac. Help
There are two ways to create a PDF on a Mac:
(1) you can use the default method, which is to choose file > print. Click on the PDF menu below on the left, then click on save as PDF. This lets you name and save the PDF file using the mechanism of OS X to create PDF files.
(2) in the same menu, you can save in Adobe PDF format. It runs a script (a little slow) that lets choose you what PDF settings file you want to use. This is the Adobe-developed mechanism that replaces the old Virtual PDF printer.
-
I'm used to using microsoft works calendar XP. When I put a windows live event calendar it has an icon for reminder on top, but it is dimmed, and I can't figure out how to set a reminder. I want more that just a moment email reminder a reminder pop-up when I boot in xp.
Hi NancyEvans,
The question you have posted is related to the Windows Live Calendar and would be best suited to the community of Windows live.
Please visit the link below to find a community that will support what ask you:
-
I have a hp printer and cannot figure out how to load envelopes size 10 for printing
I have a hp printer and cannot figure out how to load envelopes size 10 for printing. Any help would be appreciated.
Hello HeidiZarecky,
You can follow the instructions in this document to load envelopes for your printer.
-
How can I contribute Adobe Stock photos? I tried through Fotolia, but I can't figure out how.
Hi Maximillian,
Please click on the below to help Adobe Stock.
Adobe Stock help | Frequently asked questions
Let me know if it helps.
~ UL
-
I downloaded Acrobat XI (free trial). But I can't figure out how to find, open, etc...
If you are using Windows, run it. Exe file to install it...
If you are on Mac, launch. DMG file to install it...
If you have any other questions, please let us know
-
I must be missing something simple, but I can't figure out how to remove my Adobe account?
http://livingtext.WordPress.com/2009/03/13/delete-an-Adobe-account/
-
I'm at school and only paid help for my adobe membership. I can't do the cloud to download to my new computer, I had only a front tray. Now, I need this software on my new computer and cannot figure out how to download it, or if I where it is, or anything. I'm a person who needs to be talked through things so I can ask questions and get the responces immedent that I'm not good with typing and reading.
Restart the computer and try again.
Maybe you are looking for
-
AT200 - problems of network connection to day ics
I tried several times to update to ICS, but I can't download the software package! When I try this at home, I get about one-fifth of the full download before he says "could not download the software.Please check your network connection. I tried to do
-
Upgrades to Vista driver needed - Satellite M100
Is there a complete list of downloads driver needed to repair the problems with the m100 caused by upgrading to windows vista? I have a lot of questions since doing so. I can get specific instructions as to what drivers for upgrade and links to Web s
-
ON all of my devices (iPhone 6 +, iPad 2, iMac 21.5 "). I keep repeatedly said that there is a problem with my user ID and password of e-mail is not. (even thought there is no problem when I connect to my email to the provider's Web site). I have tw
-
Keychain keeps asking for password when I start?
Every time I start my computer takes the Keychain password about 10 times! This happened after I changed my password to iCloud. I have experienced similar issues in other forums, it seems that El Capitan has no Keychain first aid? How to stop guests
-
the error code for the windows live messenger is 80072efd