submit g form when requesting viewing