Added form validation for invite to group form