5 Replies Latest reply on Mar 21, 2013 12:36 PM by Mandy_Wiesener

    Auto-Fill Date Field and Save

    jrvh924

      Hello,

       

      I searched for a solution for this, but I am unable to find anything that will work for me and I am wondering if anyone can help.  I am trying to get a date in form auto-fill with the current date.  I have figured out that using the FormCalc forumla: $.rawValue = num2date(date().DateFmt(3)).  The problem I am facing is that the form saves with the current date, but when I save the form and reopen on a different day, the date changes.  Is there a way to lock the current date in the field when it is opened on a different day? 


      I am also wondering if I can make the same sort of forumla for the current time.  I also need this to not change when it is opened on a different day.


      I am learning Javascript slowly so bear with me on the responses


      Justin