We don’t allow independents to vote in our caucus or primary in Iowa. You must declare as Rep or Dem to vote.
However, you can declare that night - there is no registration deadline. Most switch and then switch back a couple of days later.
And that should be a reason to drop Republican candidates because you can check either D or R but not really be one?