parameters: (form, field)
docstring: Stops validation of the form if the given field contains any errors
      :param form: form to stop validating
      :param field: field to check for errors
      :raise: StopValidation
docstring_summary: Stops validation of the form if the given field contains any errors
      :param form: form to stop validating
      :param field: field to check for errors
      :raise: StopValidation
docstring_tokens: Stops validation of the form if the given field contains any errors : param form : form to stop validating : param field : field to check for errors : raise : StopValidation
function: def stop_validation_on_error(form, field):
      """ Stops validation of the form if the given field contains any errors
      :param form: form to stop validating
      :param field: field to check for errors
      :raise: StopValidation
      """
      if field.errors:
          raise StopValidation()
function_tokens: def stop_validation_on_error ( form , field ) : if field . errors : raise StopValidation ( )