9 Replies Latest reply on Feb 28, 2008 11:51 AM by Bernd Alheit

    Defaulting to current date for a text field

    Level 1
      Acrobat Version 8.1.2
      I would like to have my Adobe form take the current date default for a text field. Any idea how this can be done? I tried following on the Field Properties Calculate Tab "Custom Calculation script". Field name is TodayDate.

      var TodayDate = this.getField("Today");
      TodayDate.value = util.printd("mm/dd/yyyy", new date());

      Anybody knows what am I doing wrong?