I have the same question of the value entered does not match the format of the field. I know it is the division of 0. I downloaded the PDF but am still not finding the answer. What could the code be and where do you place it?
Thanks!
I have the same question of the value entered does not match the format of the field. I know it is the division of 0. I downloaded the PDF but am still not finding the answer. What could the code be and where do you place it?
Thanks!
var Hours = this.getField("HoursFieldName).value;var Dollars = this.getField("DollarsFieldName).value; if(Hours != 0)event.value = Dolars/Hours;elseevent.value = '';
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script