(a) Any elector of a party desiring to contest the nomination by his or her party of any candidate declared the nominee for any office shall make a statement in writing setting forth specifically all of the following:
(1) The name of the party contesting and that the elector was a qualified elector when the primary was held and he or she participated therein.
(2) The nomination which the election was held to fill.
(3) The time of holding the election.
(4) The name of the person declared nominated.
(5) The particular grounds on which the nomination is contested.
(b) The contest is instituted by filing this statement and giving security as provided in this article, which statement must be certified by the affidavit of such contesting party to the effect that he or she believes the same to be true.
(c) If the reception of illegal votes is alleged as a ground for contest, it is a sufficient statement of the ground to allege that illegal votes were given to the person whose nomination is contested, which, if taken from him or her will, of themselves alone or in conjunction with other alleged grounds of contest, if any, reduce the number of legal votes given to him or her down to or below the number of legal votes given to some other candidate for the same nomination; and if the rejection of legal votes is alleged as a ground, it is a sufficient statement of the ground to allege the legal votes were offered and rejected which, if cast and counted, would of themselves alone or in conjunction with other alleged grounds, if any, increase the number of legal votes cast for such candidate to a number equal to or greater than the number to which the contestee was legally entitled.