(10 ILCS 5/7-5) (from Ch. 46, par. 7-5)
    Sec. 7-5. (a) Primary elections shall be held on the dates prescribed in Article 2A.
    (b) Notwithstanding the provisions of any other statute, no primary shall be held for an established political party in any township, municipality, or ward thereof, where the nomination of such party for every office to be voted upon by the electors of such township, municipality, or ward thereof, is uncontested. Whenever a political party's nomination of candidates is uncontested as to one or more, but not all, of the offices to be voted upon by the electors of a township, municipality, or ward thereof, then a primary shall be held for that party in such township, municipality, or ward thereof; provided that the primary ballot shall not include those offices within such township, municipality, or ward thereof, for which the nomination is uncontested. For purposes of this Article, the nomination of an established political party of a candidate for election to an office shall be deemed to be uncontested where not more than the number of persons to be nominated have timely filed valid nomination papers seeking the nomination of such party for election to such office.
    (c) Notwithstanding the provisions of any other statute, no primary election shall be held for an established political party for any special primary election called for the purpose of filling a vacancy in the office of representative in the United States Congress where the nomination of such political party for said office is uncontested. For the purposes of this Article, the nomination of an established political party of a candidate for election to said office shall be deemed to be uncontested where not more than the number of persons to be nominated have timely filed valid nomination papers seeking the nomination of such established party for election to said office. This subsection (c) shall not apply if such primary election is conducted on a regularly scheduled election day.
    (d) Notwithstanding the provisions in subsection (b) and (c) of this Section whenever a person who has not timely filed valid nomination papers and who intends to become a write-in candidate for a political party's nomination for any office for which the nomination is uncontested files a written statement or notice of that intent with the State Board of Elections or the local election official with whom nomination papers for such office are filed, a primary ballot shall be prepared and a primary shall be held for that office. Such statement or notice shall be filed on or before the date established in this Article for certifying candidates for the primary ballot. Such statement or notice shall contain (i) the name and address of the person intending to become a write-in candidate, (ii) a statement that the person is a qualified primary elector of the political party from whom the nomination is sought, (iii) a statement that the person intends to become a write-in candidate for the party's nomination, and (iv) the office the person is seeking as a write-in candidate. An election authority shall have no duty to conduct a primary and prepare a primary ballot for any office for which the nomination is uncontested, unless a statement or notice meeting the requirements of this Section is filed in a timely manner.
    (e) The polls shall be open from 6:00 a.m. to 7:00 p.m.
(Source: P.A. 86-873.)