New Forum | Previous | Next | (P-PDF) Beginners
Conf: (P-PDF) Beginners, Msg: 119553
Date: 10/3/2004 01:33 PM
I thought I had this figured out but the field stays blank instead of writing what I want. It was giving me an error stating the document wasn't defined but now it doesn't do anything.
Where have I gone wrong?
var v1 = this.getField("subtotal").value
if(v1 >= 0 && v1 <= 299)
document.write = ("0")
else if(v1 >= 300 && v1 <= 999)
document.write = (".05")
else if(v1 >= 1000)
document.write = (".07")