added check for pdfEnabled in htmlFormEntry.jsp