Form not working half way through