Survey Questionnaire Designer
Create, visualize, and export professional survey forms.
This is your printable survey preview. Add questions in the Builder tab.
Customer Satisfaction Survey
Thank you for taking the time to complete this survey. Your feedback is important to us.
Generated by Survey Questionnaire Designer
Add New Question
Separate your choices with commas.
Current Questions
Survey Configuration
No questions added yet.
"; return; } questions.forEach((q, index) => { const item = document.createElement('div'); item.className = 'sqd-q-list-item'; item.innerHTML = `
${q.type}
${index + 1}. ${q.label}
`;
container.appendChild(item);
});
};
// --- PDF GENERATION ---
document.getElementById('sqd-download-btn').addEventListener('click', function() {
const element = document.getElementById('sqd-pdf-content');
const footer = element.querySelector('.sqd-pdf-footer');
// Show footer for PDF
if(footer) footer.style.display = 'block';
const opt = {
margin: 0.5,
filename: 'Survey_Form.pdf',
image: { type: 'jpeg', quality: 0.98 },
html2canvas: { scale: 2 },
jsPDF: { unit: 'in', format: 'letter', orientation: 'portrait' }
};
html2pdf().set(opt).from(element).save().then(function(){
if(footer) footer.style.display = 'none';
});
});
});
