Menu
Hey guys,
I am needing a script that will make a field equal 0.00 if there is no input. If there is input, then it no longer equals 0.00 and is whatever they type in. I can’t figure it out. Here is what I’ve tried, but none of it works——
[CODE]
var a = this.getField(“LO”);
if(a == “”)
event.value = 0.00
else if(a == //* this is where I don’t know what to put
and then I’ve tried this——
[CODE]
var a = this.getField(“LO”);
if(a==””) {a = 0;}
Any help would be appreciated! Thanks guys