working out the page/form page