<vishal/riya>client side validation