2 Replies Latest reply on Mar 23, 2016 4:30 PM by paulk07

    this.rawValue

    Al_NZ Level 1

      Hi All,

       

      I have been mucking around in javascript in acrobat for a little while and playing with javascript in forms.

       

      I have tried using some code that refers to this.rawValue - which I would assume returns the unformatted value of the field that has focus?

       

      The problem is that if I try to debug the value for this.rawValue it is always undefined.

       

      Lets say I add javascript on blur to a form. And have a single line of code:

       

      app.alert("The value is: " + this.rawValue);

       

      I always get undefined no matter what is in the corresponding field.

       

      What am I missing??

       

      Cheers

       

      -Al