Stuck with error message and form disappears when you go back