And the courts have upheld that in the past, saying the parties get to decide who participates in their primary elections.” The current law allowing undeclared voters to maintain that status until primary election day, chose a ballot of either party, vote, and then immediately switch back to undeclared status, has been on the books in the Granite State since 1993, Scanlan said.