Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Validation upon field exit 1

Status
Not open for further replies.

TidewaterJoe

IS-IT--Management
Feb 11, 2002
12
US
I am able to validate the format of a date - when the form is submitted, but not when the date field is exited. I now need to know that date when the field is exited so that I can immediately update another date field. For example, if startdate = 01-01-2006, I need to immediately update the stopdate by adding, say, 3 years, to that initial startdate.

I know how to do this with list boxes (if option A is selected in field 1, then the options for fields 2-5 default to some value). But am brain dead on this similar date problem.

Thanks in advance for any help.
 
onBlur() is the function to capture the event of the focus moving off of a particular field.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top