i have two dates one is called order date and the other is called date required i need to validate these using a created and coded function. both field are on a form call Orders.
the things that they need to b validated for are:
*the order date must be before the date required
*must be valid dates for example not in he past
*cant be letters must be dates in numbers
also i need to code it so that when it is wrong it clears the date and leaves the cursor in the field.
the things that they need to b validated for are:
*the order date must be before the date required
*must be valid dates for example not in he past
*cant be letters must be dates in numbers
also i need to code it so that when it is wrong it clears the date and leaves the cursor in the field.