Try following steps:
To add current date fields
You can use a date/time field to automatically show the current date by using the Runtime Property option in the Value tab of the Object palette.
Note: When using a current date field, the date updates to reflect the system's current date each time a user opens the form.
- In the Object Library palette, click the Standard category and drag a Date/Time Field object onto the form design.
- In the Object palette, click the Value tab and select Calculated - Read Only from the Type list.
- Select the Runtime Property option.
- View the form in the Preview PDF tab.
For more information, please refer to following article:
Thanks for your reply but that is not what I am asking to do. I do not want it executed at run time but when the user clicks on the date/time field in cell 4. The manager wants to track when the user is populating this field. Part of the form will be filled out (it is for work orders) the rest of the form will be done after the work is completed. Cell 4 (date/time field) is populated with the date the work was completed. Cell 8 needs to show the date Cell 4 was populated (clicked). That is why I showed the script I have tried in my original post that I thought would populate cell 8 when cell 4 is clicked but it does not work. Do you know the correct script to make this work. Thanks