Printing titles and subtitles in the form submission