how can i have a submit button which actually is in form and submits the data, here problem is if i move the submit button inside the loop it comes up with every input field