Re: validation of datetime field
Also, when I use sc_error_message onValidation, I do get the correct error message, but first wrong field is not focused and not tagged red.
onValidation
if ($registration_end_date > $start_date) {
$error_message_lang_regi_grea_star = {lang_regi_grea_star}; // error message
sc_error_message ($error_message_lang_regi_grea_star); // display error message and mark field red
}
User does get the message that specific fields are invalid, but after he closes the message he has to search for those fields. Actually all fields that have invalid data or are required, but have no data, should get tagged red onValidation unless they are not being displayed or hidden do to some setting in the form.
I know I have been bugging you with this, but most forms work this way. You will see right away where you entered wrong data or missed to enter something with required field.
For now I can go on developing, but I hope you consider those changes or features in core…