Only candidates who actually contested the election are necessary parties when the petition seeks a declaration that the returned candidate's election is void and that the petitioner or another candidate was duly elected.
Sulekha Ibrahim v. George ThomasKerala High Court, single judge20022002 Cassie (KER HC) 84para 3