Why is the html code for only half of my form?