form validation update, this fixes #29