Added client-side validation messages.