Flow_1wvtd9f Flow_1wvtd9f Flow_0e4vc4s is_num_in_name = True is_decimal_cnt = False is_due_date_after = True val_list = [is_num_in_name, is_decimal_cnt, is_due_date_after] val_list_cnt = val_list.count(True) if val_list_cnt == 2: val_list_cnt_str = "Two" if val_list_cnt == 3: val_list_cnt_str = "Three" if val_list_cnt == 1: if is_num_in_name: single_validation = "Numbers are not allowed in the Submitter's Name" elif is_decimal_cnt: single_validation = "The involce amount must not have more than two decimal places" elif is_due_date_after: single_validation = "The invoice due date must be after today's date" {% if val_list_cnt == 1 %} One of your entries was not properly formatted {{ single_validation }} {% else %} {{ val_list_cnt_str }} of your entries was not properly formatted {% if is_num_in_name %} - Numbers are not allowed in the Submitter's Name {% endif %} {% if is_decimal_cnt %} - The involce amount must not have more than two decimal places {% endif %} {% if is_due_date_after %} - The invoice due date must be after today's date. {% endif %} {% endif %} Flow_0e4vc4s Flow_1g2gsjj Flow_1g2gsjj