Form never moves on to the next page after clicking "Next" button