2 Replies Latest reply on Apr 15, 2008 5:16 AM by Jim MacD

    Moving Numberic Information To Another Field

    Jim MacD Level 1
      I'm trying to move information entered in one field to another field. I can get non-numberic information moved using the following code. This works when both field formats are set to 'none'.

      --------------------------------------------------------------------------
      var MN = this.getField("Text2-Years").value;

      this.getField("Text2-SpouseYears").value = MN.substr(0,2);
      --------------------------------------------------------------------------

      I wish to set both field formats to 'number' and move the two digit number from "Text2-Years" to "Text2-SpouseYears".

      I'm using adobe pro 6.

      Can anyone help? Thanks in advance.