how can i condition it to go to the end of the form