Disable moving to the next field until valid data is entered into current field

G

Gail

Hello All,

I have a form that requires 2 dates. Date one is static (today) and
Date two is a date picker and it has to be 7 days after Date one.

At this time if the user selects a date within 7 days the date picker
turns red and a message pops up stating that the date is invalid. What
I would like to do is disable the ability to move to the next field (or
any field) until a valid date is selected or better still I would like
to set Date Two to disallow selecting any date that is not valid that
is open up with the next valid date available.....

I am not a programmer but with good instruction I can add code in the
proper place and edit accordingly (this is how I got the current code
in).

Any assistance or new ideas would be helpful.

Thanks

Gail
 
Top