Afghanistan 's election laws prohibit any members of illegal armed groups from seeking office .