Expand my Community achievements bar.

Setting a field to null

Avatar

Former Community Member
I have the following code in the calculate event of a field:



if (this.rawValue == 0 || this.rawValue > 100)

null;

else

this.rawValue;



If the user inputs a value of zero or greater than 100 I want the field set to null so that calculations in dependent fields are not processed.



Now this works fine in Acrobat 7 but is totally ignored in Acrobat 8. Any ideas?



Thanks



Kevin
0 Replies