I'm using JavaScript. I've created boxes and named them a,b,c,d and e and used this formula for each one.
if(ALI.rawValue=".51"){a.rawValue="L";}
if(ALI.rawValue>=".75"){a.rawValue="MED";}
if(ALI.rawValue>=".86"){a.rawValue="H";}
if(ALI.rawValue>=".96"){a.rawValue="VH";}
Now I want box F formula to choose which box has the highest value, and then place that value in to box F.
[url=http://kb.adobe.com/selfservice/viewContent.do?externalId=330467&sliceId=1]http://kb.adobe.com/selfservice/viewContent.do?externalId=330467&sliceId=1[/url]
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script