A statement of the grounds of contest shall not be rejected nor the proceedings dismissed by any court for want of form, if the grounds of contest are alleged with such certainty as will advise the defendant of the particular proceeding or cause for which the election is contested.