def custom_func_select(populator, value_a, value_b, **kwargs):
    """Select value_a if it is not blank, otherwise select value_b.
    """
    if value_a is None or value_a == "":
        return value_b
    return value_a