Update documentation for form_validate function