how do i display form details inside html table on same page?