avoid deprecated on_page_view method

make form look a bit more like 5.7