Candidates for the office of chief magistrate shall be nominated in a nonpartisan primary to be held at the same time as and in conjunction with the general primary every four years. A nominating petition shall not be required to place the name of any such candidate on the primary ballot. A candidate may have his or her name placed on the primary ballot by filing a notice of candidacy with the county election superintendent and by paying the prescribed qualifying fee.