14 Replies Latest reply on Mar 15, 2016 4:41 PM by yohjp

    Javascript Tooltip clearing issue

    yohjp

      I have using the script below to clear a massive amount of tool tips and am getting a syntax error from the javascript debugger. Can someone let me know possibly why I am encountering this? I can't seem to get it to work on a test PDF with simply name fields as well. I know I gotten this to work before.

       

       

      // Set all field tooltips to blank
      for (var i = 0; i < numFields; i++) {
      getField(getNthFieldName(i)).userName = "";
      }

       

      SyntaxError: syntax error

      1:Console:Exec

      undefined

       

       

       

       

      Thank you