set jalalidate for message