How to get the Headings in the results submitted by form