each page will not do final database insertion/update until submit button pressed