 Director Capra, Frank (qv) tested the film in different areas of  the US with four different endings to determine which one to keep.  In one, John Willoughby commits suicide. In another, Ann Mitchell  persuades him not to leap from City Hall. Inspired by a letter  signed "John Doe," Capra filmed a fifth and final ending in which  Mitchell talks some sense into Willoughby and then faints into his  arms.