Hi,
Thanks for the answer.
I do not understand, why the date is not validate.
According to this post, there is a function check_date that verifies the entered date:
www.hikashop.com/en/forum/4-how-to/33707...tom-field.html#33707
Quote:
It will be in all versions of course.
It will be released with next version in several weeks.
If you want it now, you can just add the code:
if(!selectedDate){
selObj.value=\'\';
alert(\''.JText::_('INCORRECT_DATE_FORMAT',true).'\');
return false;
}
after the line:
var selectedDate = new Date(selObj.value);
in that same file and it will display an error message when the date doesn't have the correct format.
Also, the line below will have to be added to your translation file:
INCORRECT_DATE_FORMAT="Incorrect date format"
Could you please clarify ?
Thanks and br