The elections shall be conducted in accordance with chapters 1-19 of this title. Contested elections shall be determined in the manner provided for the determination of contested elections for primary candidates for statewide office.