(1) Any registered voter who was not a candidate in the primary election and who was not registered to vote with a party affiliation on or after March 1 and before the general election in the calendar year of the general election may have his or her name placed on the general election ballot for a partisan office by filing petitions as prescribed in sections to or by nomination by political party convention or committee pursuant to section or .
(2) Any candidate who was defeated in the primary election and any registered voter who was not a candidate in the primary election may have his or her name placed on the general election ballot if a vacancy exists on the ballot under subsection (2) of section and the candidate files for the office by petition as prescribed in sections and , files as a write-in candidate as prescribed in section , or is nominated by political party convention or committee pursuant to section or .