These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

JavaScript Calculations

mjh
Registered: May 25 2007
Posts: 6

Hi. I developed a form and it is on a shared drive in the office. It involves many JavaScript calculations. Two of my coworkers cannot get all of the calculations to perform. However, they do get my other forms to work (and one calculation on the form in question). One is using Reader and the other Pro but so are others that have no problems. Any ideas would be helpful!
Thanks.

My Product Information:
Acrobat Pro 7.0.0, Windows
pddesigner
Registered: Jul 9 2006
Posts: 858
Some Reader users may not have the latest version of Adobe reader. Insert this code
(Document Level Javascript) to check their version. You should also check the document security to make sure they are allowed to fill in the form.

if (app.vewerVersion < 8) {
app.alert("You must have Adobe Reader 8.0 or later to open this document.\n\nGet the latest Adobe Reader at [url=http://www.adobe.com/products/acrobat/readstep2.php"]http://www.adobe.com/products/acrobat/readstep2.php"[/url], 2 ,2)
this.closeDoc(true)

My favorite quote - "Success is the ability to go from one failure to another with no loss of enthusiasm.

mjh
Registered: May 25 2007
Posts: 6
Thank you for the insight. I checked this out and it was not the problem. So, I took out the portion of my script that called a document function and the forms performed correctly for the two in question. I really would like to be able to call functions in the code! Have you seen this happen in your experience?

Thanks again.