Fixed so that the entire thing is one form so that it all gets submitted when you click submit.