Any person who is a registered and enrolled member of a party during any period of time beginning with thirty (30) days before the primary and extending through the general or municipal election of that same year shall be ineligible to be the candidate of a political body in a general or municipal election held in that same year nor shall any person who is a registered and enrolled member of a party be eligible to be the candidate of a political body for a special election.
25 P.S. § 2911.1