I googled William Jennings Bryant. Found out he was a 3 time Democratic Party nominee.
The key point in the question is that BOTH Goldwater and Johnson did it. They ran against each other. What can both the winning candidate and the losing candidate do in the SAME election.
Got me stumped (for now), and boy that's annoying!