Set up body with form attributes, made iterations and set up footer variable