The qualifications of electors entitled to vote at primaries shall be the same as the qualifications of electors entitled to vote at elections within the election district where the primary is held, provided that no elector who is not registered and enrolled as a member of a political party, in accordance with the provisions of this act, shall be permitted to vote the ballot of such party or any other party ballot at any primary.
25 P.S.§ 2812