No person shall be allowed to file a candidate filing form as a partisan candidate or to have his or her name placed upon a primary election ballot of a political party if subsection (2) of section 32-720 applies to the political party. For any other political party, no person shall be allowed to file a candidate filing form as a partisan candidate or to have his or her name placed upon a primary election ballot of a political party unless (1) he or she is a registered voter of the political party if required pursuant to section 32-702 and (2)(a) the political party has at least ten thousand persons affiliated as indicated by voter registration records in Nebraska or (b) at one of the two immediately preceding statewide general elections, (i) a candidate nominated by the political party polled at least five percent of the entire vote in the state in a statewide race or (ii) a combination of candidates nominated by the political party for a combination of districts that encompass all of the voters of the entire state polled at least five percent of the vote in each of their respective districts. A candidate filing form filed in violation of this section shall be void.