Got topfield.php working satisfactorily