Copy link to clipboard
Copied
This should be an easy one.
I have a drop box (0-5) integer.
Once the user chooses their integer from the dropdown box, the code will use the integer and multiply it by 100 and enter it in another text box.
Who would you suggest starting my programming training with?
Thank you for all the assistance.
Copy link to clipboard
Copied
Read this, and the 2 articles that are linked.
https://www.pdfscripting.com/public/Calculating-field-values-and-more.cfm
But you don't actually need programming to perform this calculation. It can be done with Simplified Field Notation. Look at the calculate tab on the form field properties dialog.
Copy link to clipboard
Copied
Hi @robert_daughdril ,
The community forums is a great place to start learning Acrobat Javascript.
There plenty of great developers here that can lead the way and get you on track.
For example, you may run a custom calculation script from the dropdown menu like so:
var f = this.getField("nameOfTextField");
(event.value != 0) ? f.value = event.value/100 : f.value = "";
Or use built-in features as suggested by @Thom Parker
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Aahh! yes, I forgot to clarify:
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more