comment: The article you linked pretty much explains everything.
  When it comes to the presidential election, most states don't have absolute "sore loser laws", they just have filing deadlines that make it less feasible to run for one party's nomination and then drop out and run again as an independent. But even in the states with sore loser laws or early deadlines, there's always the chance of fighting in court to secure a spot on the ballot.