if(record.armedforces=="A current or former regular in the UK Armed Forces (exc. National Service)"||record.armedforces=="A current or former reserve in the UK Armed Forces (exc. National Service)")&&record.reservist.blank?
if(record.armedforces=="A current or former regular in the UK Armed Forces (excluding National Service)"||record.armedforces=="A current or former reserve in the UK Armed Forces (excluding National Service)")&&record.reservist.blank?
record.errors.add:reservist,"You must answer the armed forces injury question if the tenant has served in the armed forces"
record.errors.add:reservist,"You must answer the armed forces injury question if the tenant has served in the armed forces"