Auto-Enter Current Date

By Jean May on Jan 4, 2008


This script will enter the current date in a read only form field. Good for when you want to collect the current date but want to make sure it’s formatted properly.


  • Created by: Jean P. May, Jr.
  • Web Site:
  • Posted: January 4, 2008

Source Code

Paste this source code into the designated areas.

External file

Paste this code into an external JavaScript file named: autoEnterCurrentDate.js


Paste this code into the HEAD section of your HTML document.


Paste this code into the BODY section of your HTML document


Blog comments powered by Disqus