client side form validation for manna