hb_uc_no_he_hb=record.hb=="6. Universal Credit with housing element (excluding housing benefit)"
hb_and_uc=record.hb=="8. Housing benefit and Universal Credit (without housing element)"
conditions=[
{condition:is_yes&&(hb_donotknow||hb_no_hb_or_uc||hb_uc_no_hb),error:"Outstanding amount for basic rent and/or benefit eligible charges can not be 'Yes' if tenant is not in receipt of housing benefit or universal benefit or if benefit is unknown"},
{condition:is_yes&&(hb_donotknow||hb_none||hb_uc_no_hb),error:"Outstanding amount for basic rent and/or benefit eligible charges can not be 'Yes' if tenant is not in receipt of housing benefit or universal benefit or if benefit is unknown"},
{condition:(hb_no_uc||hb_uc_no_he_hb||hb_and_uc)&&!is_present,error:"Must be completed if Universal credit and/or Housing Benefit received"},