Types of Federal Election Crimes There is no law against asking someone who they are voting for. But you do not have to share that information with anyone if you do not want to.