13 Replies Latest reply on Mar 10, 2010 1:53 PM by OctRita

    Script to update a field for current year

    OctRita Level 1

      Is it possible to have a field update to finish the current year? Example 20-- (the dashes to change to whatever year it is). I'm thinking that it's not possible but if someone knows how it can be done I would really appreciate help. Thanks 

       

      Sorry, I guess I need it to change the entire year, not just the ending.  THanks

       

      I've tried a few scripts that I found here, such as; year(dateAdd('yyyy', 1, now())) with no luck. I admit I have no knowledge of scripts and may be doing something wrong. Does the script go under the Action tab as a javascript or somewhere else (validation??) Any advice or help would be appreciated. I am using Acrobt Pro version 9.