Only user-proof way I've found is to split dates up into 3 fields: Year,month,day

Its also nigh impossible to validate unless you insist on leading zeroes. ie is  1132004  11/3/2004 or 1/13/2004

  ----- Original Message -----
  From: Kevin
  To: CF-Talk
  Sent: Wednesday, July 28, 2004 4:43 PM
  Subject: Need Help with Form entry

  I am trying to find a simple way to automate the entry of a form field for dates. What I would like to do is allow the user to enter a date and have it automatically add the "/" where they belong. Is there a function to do this or do I need to write a _javascript_ function to test the input and either give an error or format it a replace it in the field? Before I start I wanted to make sure I was not reinventing the wheel. ;-)

  Thanks,
  Kevin
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to