def validate_not_empty():
    """
    Validate that a field is not empty (blank string).

    :raises: ``ValidationError('empty')``
    """
    def empty_validator(field, data):
        if isinstance(field.value, str) and not field.value.strip():
            raise ValidationError('empty')
    return empty_validator