var pdfContent = ` ${headerImage}

Business Enquiry Submitted

Company Name:

${formData[1] || "Not Provided"}

Contact Person:

${formData[2] || "Not Provided"}

Designation:

${formData[3] || "Not Provided"}

Email:

${formData[4] || "Not Provided"}

Phone Number:

${formData[5] || "Not Provided"}

Website:

${formData[6] || "Not Provided"}

Additional Details

`; // Append all sections from the form for (var i = 7; i < formData.length; i++) { pdfContent += `

Question ${i - 6}:

${formData[i] || "Not Provided"}

`; }
×