alright, I’m working with a form in Acrobat, and it’s annoying the hell out of me. I have a field that calculates a result based on other fields. When those other fields are empty, it displays NaN. I dont want it to. So I wrote this bit of code
if (isNaN(event.value))
event.value = " ";
event.value is the value of the field. That’s an acrobat thing… I just want to know if that’s the correct way of checking for not a number.