The court may require any person called as a witness, who voted at such election, to answer touching the person's qualifications as a voter, and, if the person was not a registered voter in the county where the person voted, then to answer for whom the person voted.
Iowa Code § 62.17
2001 Acts, ch 56, §5