export function leadershipStyleQuiz(form: FormTs) {
form.setTitle(() => '👔 What\'s Your Leadership Style?');
// ============ SCORING SYSTEM ============
const scores = form.state<Record<string, number>>({
visionary: 0,
coach: 0,
democratic: 0,
pacesetter: 0,
servant: 0
});
const updateScore = (style: string, points: number) => {
scores.update(current => ({
...current,
[style]: (current[style] || 0) + points
}));
};
type StyleKey = 'visionary' | 'coach' | 'democratic' | 'pacesetter' | 'servant';
const getTopStyle = (): StyleKey => {
const s = scores();
let maxStyle: StyleKey = 'visionary';
let maxScore = s['visionary'] || 0;
const styles: StyleKey[] = ['visionary', 'coach', 'democratic', 'pacesetter', 'servant'];
for (const style of styles) {
if ((s[style] || 0) > maxScore) {
maxScore = s[style] || 0;
maxStyle = style;
}
}
return maxStyle;
};
const getSecondaryStyle = (): StyleKey => {
const s = scores();
const top = getTopStyle();
let secondStyle: StyleKey = 'coach';
let secondScore = 0;
const styles: StyleKey[] = ['visionary', 'coach', 'democratic', 'pacesetter', 'servant'];
for (const style of styles) {
if (style !== top && (s[style] || 0) > secondScore) {
secondScore = s[style] || 0;
secondStyle = style;
}
}
return secondStyle;
};
const styleInfo: Record<StyleKey, { emoji: string; title: string; subtitle: string; description: string; strengths: string[]; blindSpots: string[]; bestFor: string; famousExamples: string }> = {
visionary: {
emoji: '🔮',
title: 'The Visionary Leader',
subtitle: 'Inspiring Change & Direction',
description: 'You lead by painting a compelling picture of the future. You inspire people with your vision and give them the freedom to figure out how to get there. Your strength is mobilizing teams around a shared purpose.',
strengths: ['Strategic thinking', 'Inspiring communication', 'Change management', 'Big-picture focus'],
blindSpots: ['May overlook details', 'Can seem distant', 'Impatient with slow progress'],
bestFor: 'Transformation, turnarounds, startups, new directions',
famousExamples: 'Steve Jobs, Elon Musk, Oprah Winfrey'
},
coach: {
emoji: '🎯',
title: 'The Coach Leader',
subtitle: 'Developing People & Potential',
description: 'You lead by investing in people\'s growth. You see potential in everyone and help them develop their strengths. Your one-on-one relationships and mentoring create lasting impact.',
strengths: ['People development', 'Active listening', 'Patient guidance', 'Long-term focus'],
blindSpots: ['May be too slow in crisis', 'Can neglect poor performers', 'May avoid tough decisions'],
bestFor: 'Developing talent, building culture, succession planning',
famousExamples: 'Bill Campbell, Pat Summitt, Phil Jackson'
},
democratic: {
emoji: '🤝',
title: 'The Democratic Leader',
subtitle: 'Building Consensus & Collaboration',
description: 'You lead by including others in decisions. You value diverse perspectives and build commitment through participation. Your collaborative approach creates buy-in and innovation.',
strengths: ['Inclusive decision-making', 'Team building', 'Fostering innovation', 'Building trust'],
blindSpots: ['Slow decisions in crisis', 'May frustrate top performers', 'Can create meeting overload'],
bestFor: 'Cross-functional teams, creative work, complex problems',
famousExamples: 'Indra Nooyi, Tim Cook, Satya Nadella'
},
pacesetter: {
emoji: '⚡',
title: 'The Pacesetter Leader',
subtitle: 'Driving Excellence & Results',
description: 'You lead by example, setting high standards and expecting the same from others. You push for excellence and quick results. Your drive for performance creates a high-achieving culture.',
strengths: ['High standards', 'Results orientation', 'Self-motivation', 'Quick execution'],
blindSpots: ['Can overwhelm team', 'May micromanage', 'Risk of burnout'],
bestFor: 'High-performing teams, quick wins, technical excellence',
famousExamples: 'Jeff Bezos, Marissa Mayer, Jack Welch'
},
servant: {
emoji: '🤲',
title: 'The Servant Leader',
subtitle: 'Empowering & Supporting Others',
description: 'You lead by putting others first. You focus on removing obstacles and empowering your team to succeed. Your humble approach builds deep loyalty and engagement.',
strengths: ['Empathy', 'Team empowerment', 'Building loyalty', 'Creating psychological safety'],
blindSpots: ['May lack assertiveness', 'Can be taken advantage of', 'May avoid conflict'],
bestFor: 'Building culture, customer service, community organizations',
famousExamples: 'Herb Kelleher, Mary Barra, Howard Schultz'
}
};
const getStyleColor = (style: StyleKey): string => {
const colors: Record<StyleKey, string> = {
visionary: '#8b5cf6',
coach: '#0891b2',
democratic: '#059669',
pacesetter: '#dc2626',
servant: '#f59e0b'
};
return colors[style];
};
// ============ COMPLETION SCREEN ============
form.configureCompletionScreen({
type: 'text',
title: () => {
const top = getTopStyle();
return `${styleInfo[top].emoji} You're ${styleInfo[top].title}!`;
},
message: () => {
const top = getTopStyle();
const secondary = getSecondaryStyle();
return `${styleInfo[top].description}\n\nYour secondary style is ${styleInfo[secondary].title}, which adds ${(styleInfo[secondary].strengths[0] || '').toLowerCase()} to your leadership toolkit.`;
}
});
// ============ PAGES SETUP ============
const pages = form.addPages('quiz-pages', {
heightMode: 'current-page'
});
// ============ PAGE 1: Decision Making ============
const page1 = pages.addPage('decisions', { mobileBreakpoint: 500 });
page1.addRow(row => {
row.addTextPanel('header1', {
label: 'Step 1 of 6: Decision Making',
computedValue: () => 'How do you approach important decisions?',
customStyles: {
fontSize: '0.9rem',
color: '#6b7280',
marginBottom: '1rem'
}
});
});
page1.addSpacer({ height: '24px' });
page1.addRow(row => {
row.addRadioButton('decisionApproach', {
label: 'When facing a major decision, you typically:',
isRequired: true,
orientation: 'vertical',
options: [
{ id: 'vision', name: '🔮 Trust your instinct about where things should go' },
{ id: 'coach', name: '🎯 Consider how it affects each team member\'s growth' },
{ id: 'democratic', name: '🤝 Gather input from everyone involved' },
{ id: 'pacesetter', name: '⚡ Analyze the data and make a quick call' },
{ id: 'servant', name: '🤲 Ask the team what support they need' }
],
onValueChange: (val) => {
if (!val) return;
const mapping: Record<string, string> = { vision: 'visionary', coach: 'coach', democratic: 'democratic', pacesetter: 'pacesetter', servant: 'servant' };
updateScore(mapping[val] || 'visionary', 4);
}
});
});
page1.addRow(row => {
row.addRadioButton('disagreement', {
label: 'When your team disagrees with your decision, you:',
isRequired: true,
orientation: 'vertical',
options: [
{ id: 'vision', name: '🔮 Explain the bigger picture and why this matters' },
{ id: 'coach', name: '🎯 Use it as a coaching moment to explore their thinking' },
{ id: 'democratic', name: '🤝 Revisit the decision together and find common ground' },
{ id: 'pacesetter', name: '⚡ Show them the data and move forward' },
{ id: 'servant', name: '🤲 Listen deeply to understand their concerns' }
],
onValueChange: (val) => {
if (!val) return;
const mapping: Record<string, string> = { vision: 'visionary', coach: 'coach', democratic: 'democratic', pacesetter: 'pacesetter', servant: 'servant' };
updateScore(mapping[val] || 'visionary', 4);
}
});
});
page1.addRow(row => {
row.addRadioButton('urgency', {
label: 'In a crisis, you\'re most likely to:',
isRequired: true,
orientation: 'vertical',
options: [
{ id: 'vision', name: '🔮 Rally the team around a bold new direction' },
{ id: 'coach', name: '🎯 Check in with key people and support them' },
{ id: 'democratic', name: '🤝 Quickly gather the key stakeholders' },
{ id: 'pacesetter', name: '⚡ Take charge and lead by example' },
{ id: 'servant', name: '🤲 Clear obstacles so the team can work' }
],
onValueChange: (val) => {
if (!val) return;
const mapping: Record<string, string> = { vision: 'visionary', coach: 'coach', democratic: 'democratic', pacesetter: 'pacesetter', servant: 'servant' };
updateScore(mapping[val] || 'visionary', 4);
}
});
});
// ============ PAGE 2: Team Interactions ============
const page2 = pages.addPage('team', { mobileBreakpoint: 500 });
page2.addRow(row => {
row.addTextPanel('header2', {
label: 'Step 2 of 6: Team Interactions',
computedValue: () => 'How do you interact with your team?',
customStyles: {
fontSize: '0.9rem',
color: '#6b7280',
marginBottom: '1rem'
}
});
});
page2.addSpacer({ height: '24px' });
page2.addRow(row => {
row.addRadioButton('oneOnOne', {
label: 'In one-on-one meetings, you focus most on:',
isRequired: true,
orientation: 'vertical',
options: [
{ id: 'vision', name: '🔮 Connecting their work to the bigger mission' },
{ id: 'coach', name: '🎯 Their career goals and development' },
{ id: 'democratic', name: '🤝 Getting their input on team decisions' },
{ id: 'pacesetter', name: '⚡ Progress on goals and removing blockers' },
{ id: 'servant', name: '🤲 What you can do to help them succeed' }
],
onValueChange: (val) => {
if (!val) return;
const mapping: Record<string, string> = { vision: 'visionary', coach: 'coach', democratic: 'democratic', pacesetter: 'pacesetter', servant: 'servant' };
updateScore(mapping[val] || 'visionary', 4);
}
});
});
page2.addRow(row => {
row.addRadioButton('newHire', {
label: 'When onboarding a new team member, you prioritize:',
isRequired: true,
orientation: 'vertical',
options: [
{ id: 'vision', name: '🔮 Sharing the vision and why we exist' },
{ id: 'coach', name: '🎯 Creating a 90-day development plan' },
{ id: 'democratic', name: '🤝 Introducing them to everyone and team norms' },
{ id: 'pacesetter', name: '⚡ Getting them up to speed quickly on their work' },
{ id: 'servant', name: '🤲 Making sure they have everything they need' }
],
onValueChange: (val) => {
if (!val) return;
const mapping: Record<string, string> = { vision: 'visionary', coach: 'coach', democratic: 'democratic', pacesetter: 'pacesetter', servant: 'servant' };
updateScore(mapping[val] || 'visionary', 4);
}
});
});
page2.addRow(row => {
row.addEmojiRating('teamEnergy', {
label: 'What gives you the most energy as a leader?',
isRequired: true,
preset: 'custom',
emojis: [
{ id: 'visionary', emoji: '🌟', label: 'Inspiring' },
{ id: 'coach', emoji: '🌱', label: 'Growing' },
{ id: 'democratic', emoji: '🤝', label: 'Collaborating' },
{ id: 'pacesetter', emoji: '🏆', label: 'Winning' },
{ id: 'servant', emoji: '💝', label: 'Serving' }
],
size: 'lg',
showLabels: true,
alignment: 'center',
onValueChange: (val) => {
if (!val) return;
updateScore(val, 4);
}
});
});
// ============ PAGE 3: Motivation & Feedback ============
const page3 = pages.addPage('motivation', { mobileBreakpoint: 500 });
page3.addRow(row => {
row.addTextPanel('header3', {
label: 'Step 3 of 6: Motivation & Feedback',
computedValue: () => 'How do you motivate and give feedback?',
customStyles: {
fontSize: '0.9rem',
color: '#6b7280',
marginBottom: '1rem'
}
});
});
page3.addSpacer({ height: '24px' });
page3.addRow(row => {
row.addRadioButton('motivation', {
label: 'You believe people are most motivated by:',
isRequired: true,
orientation: 'vertical',
options: [
{ id: 'vision', name: '🔮 Being part of something meaningful and big' },
{ id: 'coach', name: '🎯 Growing and developing their skills' },
{ id: 'democratic', name: '🤝 Having a voice and feeling valued' },
{ id: 'pacesetter', name: '⚡ Achieving excellence and being the best' },
{ id: 'servant', name: '🤲 Feeling supported and cared for' }
],
onValueChange: (val) => {
if (!val) return;
const mapping: Record<string, string> = { vision: 'visionary', coach: 'coach', democratic: 'democratic', pacesetter: 'pacesetter', servant: 'servant' };
updateScore(mapping[val] || 'visionary', 4);
}
});
});
page3.addRow(row => {
row.addRadioButton('feedback', {
label: 'When giving critical feedback, you:',
isRequired: true,
orientation: 'vertical',
options: [
{ id: 'vision', name: '🔮 Connect it to the bigger picture and expectations' },
{ id: 'coach', name: '🎯 Frame it as a development opportunity' },
{ id: 'democratic', name: '🤝 Have a two-way conversation about it' },
{ id: 'pacesetter', name: '⚡ Be direct and specific about what needs to change' },
{ id: 'servant', name: '🤲 Start by asking how you can help them improve' }
],
onValueChange: (val) => {
if (!val) return;
const mapping: Record<string, string> = { vision: 'visionary', coach: 'coach', democratic: 'democratic', pacesetter: 'pacesetter', servant: 'servant' };
updateScore(mapping[val] || 'visionary', 4);
}
});
});
page3.addRow(row => {
row.addRadioButton('recognition', {
label: 'You prefer to recognize good work by:',
isRequired: true,
orientation: 'vertical',
options: [
{ id: 'vision', name: '🔮 Highlighting their contribution to the mission' },
{ id: 'coach', name: '🎯 Acknowledging specific growth and improvement' },
{ id: 'democratic', name: '🤝 Celebrating as a team' },
{ id: 'pacesetter', name: '⚡ Rewarding results with more responsibility' },
{ id: 'servant', name: '🤲 Privately thanking them and asking what they need' }
],
onValueChange: (val) => {
if (!val) return;
const mapping: Record<string, string> = { vision: 'visionary', coach: 'coach', democratic: 'democratic', pacesetter: 'pacesetter', servant: 'servant' };
updateScore(mapping[val] || 'visionary', 4);
}
});
});
// ============ PAGE 4: Challenges ============
const page4 = pages.addPage('challenges', { mobileBreakpoint: 500 });
page4.addRow(row => {
row.addTextPanel('header4', {
label: 'Step 4 of 6: Leadership Challenges',
computedValue: () => 'How do you handle difficult situations?',
customStyles: {
fontSize: '0.9rem',
color: '#6b7280',
marginBottom: '1rem'
}
});
});
page4.addSpacer({ height: '24px' });
page4.addRow(row => {
row.addRadioButton('underperformer', {
label: 'When dealing with an underperformer, you first:',
isRequired: true,
orientation: 'vertical',
options: [
{ id: 'vision', name: '🔮 Check if they\'re connected to the mission' },
{ id: 'coach', name: '🎯 Create a detailed improvement plan together' },
{ id: 'democratic', name: '🤝 Get input from the team and have honest discussions' },
{ id: 'pacesetter', name: '⚡ Set clear expectations and deadlines' },
{ id: 'servant', name: '🤲 Ask what\'s blocking them and how to help' }
],
onValueChange: (val) => {
if (!val) return;
const mapping: Record<string, string> = { vision: 'visionary', coach: 'coach', democratic: 'democratic', pacesetter: 'pacesetter', servant: 'servant' };
updateScore(mapping[val] || 'visionary', 4);
}
});
});
page4.addRow(row => {
row.addRadioButton('change', {
label: 'When leading through change, you focus on:',
isRequired: true,
orientation: 'vertical',
options: [
{ id: 'vision', name: '🔮 Communicating the exciting future ahead' },
{ id: 'coach', name: '🎯 Helping each person adapt and grow' },
{ id: 'democratic', name: '🤝 Involving people in shaping the change' },
{ id: 'pacesetter', name: '⚡ Moving quickly and leading by example' },
{ id: 'servant', name: '🤲 Supporting people through the transition' }
],
onValueChange: (val) => {
if (!val) return;
const mapping: Record<string, string> = { vision: 'visionary', coach: 'coach', democratic: 'democratic', pacesetter: 'pacesetter', servant: 'servant' };
updateScore(mapping[val] || 'visionary', 4);
}
});
});
page4.addRow(row => {
row.addRatingScale('delegation', {
label: 'How comfortable are you with delegation?',
isRequired: true,
preset: 'likert-7',
lowLabel: 'I do it myself',
highLabel: 'Full delegation',
size: 'md',
alignment: 'center',
variant: 'buttons',
onValueChange: (val) => {
if (val == null) return;
// 1-2: pacesetter (control), 3-4: visionary/coach (some), 5-7: democratic/servant (delegate)
if (val <= 2) updateScore('pacesetter', 3);
else if (val <= 4) updateScore('coach', 3);
else if (val === 5) updateScore('democratic', 3);
else updateScore('servant', 3);
}
});
});
// ============ PAGE 5: Results ============
const page5 = pages.addPage('results', { mobileBreakpoint: 500 });
page5.addRow(row => {
row.addTextPanel('header5', {
label: 'Step 5 of 6: Your Results',
computedValue: () => 'Discover your leadership DNA!',
customStyles: {
fontSize: '0.9rem',
color: '#6b7280',
marginBottom: '1rem'
}
});
});
page5.addSpacer({ height: '24px' });
page5.addRow(row => {
row.addTextPanel('resultTitle', {
computedValue: () => {
const top = getTopStyle();
return `${styleInfo[top].emoji} You are ${styleInfo[top].title}!`;
},
customStyles: {
fontSize: '1.8rem',
fontWeight: '800',
textAlign: 'center',
color: getStyleColor(getTopStyle()),
padding: '20px',
background: '#f9fafb',
borderRadius: '12px',
border: `3px solid ${getStyleColor(getTopStyle())}`
}
});
});
page5.addRow(row => {
row.addTextPanel('resultSubtitle', {
computedValue: () => styleInfo[getTopStyle()].subtitle,
customStyles: {
fontSize: '1.1rem',
color: '#6b7280',
textAlign: 'center',
marginTop: '0.5rem',
fontStyle: 'italic'
}
});
});
page5.addRow(row => {
row.addTextPanel('resultDescription', {
computedValue: () => styleInfo[getTopStyle()].description,
customStyles: {
fontSize: '1rem',
color: '#4b5563',
textAlign: 'center',
lineHeight: '1.7',
padding: '20px',
marginTop: '1rem'
}
});
});
page5.addRow(row => {
row.addTextPanel('strengths', {
label: '💪 Your Strengths',
computedValue: () => styleInfo[getTopStyle()].strengths.join(' • '),
customStyles: {
fontSize: '0.95rem',
color: '#059669',
padding: '15px',
background: '#ecfdf5',
borderRadius: '8px',
marginTop: '1rem'
}
});
});
page5.addRow(row => {
row.addTextPanel('blindSpots', {
label: '👁️ Watch Out For',
computedValue: () => styleInfo[getTopStyle()].blindSpots.join(' • '),
customStyles: {
fontSize: '0.95rem',
color: '#d97706',
padding: '15px',
background: '#fffbeb',
borderRadius: '8px',
marginTop: '0.5rem'
}
});
});
page5.addRow(row => {
row.addTextPanel('bestFor', {
label: '🎯 Best For',
computedValue: () => styleInfo[getTopStyle()].bestFor,
customStyles: {
fontSize: '0.95rem',
color: '#1e40af',
padding: '15px',
background: '#dbeafe',
borderRadius: '8px',
marginTop: '0.5rem'
}
});
});
page5.addRow(row => {
row.addTextPanel('famous', {
label: '⭐ Famous Examples',
computedValue: () => styleInfo[getTopStyle()].famousExamples,
customStyles: {
fontSize: '0.95rem',
color: '#6b7280',
padding: '15px',
background: '#f3f4f6',
borderRadius: '8px',
marginTop: '0.5rem'
}
});
});
page5.addRow(row => {
row.addTextPanel('secondary', {
computedValue: () => {
const secondary = getSecondaryStyle();
return `Your secondary style is ${styleInfo[secondary].emoji} ${styleInfo[secondary].title}, adding ${(styleInfo[secondary].strengths[0] || '').toLowerCase()} to your leadership toolkit.`;
},
customStyles: {
fontSize: '0.9rem',
color: '#6b7280',
textAlign: 'center',
padding: '15px',
marginTop: '1rem',
fontStyle: 'italic'
}
});
});
// ============ PAGE 6: Lead Capture ============
const page6 = pages.addPage('lead-capture', { mobileBreakpoint: 500 });
page6.addRow(row => {
row.addTextPanel('header6', {
label: 'Step 6 of 6: Get Your Report',
computedValue: () => 'Enter your details to receive your full leadership profile',
customStyles: {
fontSize: '0.9rem',
color: '#6b7280',
marginBottom: '1rem'
}
});
});
page6.addSpacer({ height: '24px' });
page6.addRow(row => {
row.addTextPanel('leadCapture', {
label: '📧 Get Your Full Leadership Profile',
computedValue: () => 'Receive a detailed PDF with personalized development advice',
customStyles: {
fontSize: '0.9rem',
color: '#6b7280'
}
});
});
page6.addRow(row => {
row.addTextbox('name', {
label: 'Your Name',
isRequired: true,
placeholder: 'John Smith'
}, '1fr');
row.addEmail('email', {
label: 'Email',
isRequired: true,
placeholder: 'john@company.com'
}, '1fr');
});
page6.addRow(row => {
row.addTextbox('company', {
label: 'Company',
placeholder: 'Acme Corp'
}, '1fr');
row.addDropdown('role', {
label: 'Your Role',
options: [
{ id: 'executive', name: '👔 Executive (C-level, VP)' },
{ id: 'director', name: '📊 Director/Senior Manager' },
{ id: 'manager', name: '👥 Manager/Team Lead' },
{ id: 'individual', name: '🎯 Individual Contributor' },
{ id: 'aspiring', name: '🌱 Aspiring Leader' }
],
placeholder: 'Select role'
}, '1fr');
});
page6.addRow(row => {
row.addCheckboxList('consent', {
options: [
{ id: 'report', name: '📄 Send me my detailed leadership profile', isRequired: true },
{ id: 'tips', name: '💡 Send me leadership development tips' },
{ id: 'coaching', name: '📞 I\'d like to explore leadership coaching' }
],
defaultValue: ['report'],
orientation: 'vertical'
});
});
// ============ PDF REPORT ============
form.configurePdf('leadership-report', pdf => {
pdf.configure({
filename: 'leadership-style-report.pdf',
pageSize: 'A4',
allowUserDownload: true,
downloadButtonLabel: '📄 Download Your Profile',
header: {
title: 'Leadership Style Report',
subtitle: 'Your Personalized Leadership Profile'
},
footer: {
text: 'Generated by FormTs Leadership Quiz',
showPageNumbers: true
}
});
const top = getTopStyle();
const secondary = getSecondaryStyle();
pdf.addSection('Your Primary Leadership Style', section => {
section.addRow(row => {
row.addField('Style', `${styleInfo[top].emoji} ${styleInfo[top].title}`);
});
section.addText(styleInfo[top].description);
});
pdf.addSection('Strengths & Development Areas', section => {
section.addRow(row => {
row.addField('Key Strengths', styleInfo[top].strengths.join(', '));
});
section.addRow(row => {
row.addField('Watch Out For', styleInfo[top].blindSpots.join(', '));
});
section.addRow(row => {
row.addField('Best Applied In', styleInfo[top].bestFor);
});
section.addRow(row => {
row.addField('Famous Examples', styleInfo[top].famousExamples);
});
});
pdf.addSection('Your Secondary Style', section => {
section.addRow(row => {
row.addField('Style', `${styleInfo[secondary].emoji} ${styleInfo[secondary].title}`);
});
section.addText(`Your secondary style adds ${(styleInfo[secondary].strengths[0] || '').toLowerCase()} to your leadership approach.`);
});
pdf.addPageBreak();
pdf.addSection('Score Breakdown', section => {
const s = scores();
section.addTable(
['Leadership Style', 'Score', 'Percentage'],
[
['🔮 Visionary', `${s['visionary'] || 0}`, `${Math.round(((s['visionary'] || 0) / 55) * 100)}%`],
['🎯 Coach', `${s['coach'] || 0}`, `${Math.round(((s['coach'] || 0) / 55) * 100)}%`],
['🤝 Democratic', `${s['democratic'] || 0}`, `${Math.round(((s['democratic'] || 0) / 55) * 100)}%`],
['⚡ Pacesetter', `${s['pacesetter'] || 0}`, `${Math.round(((s['pacesetter'] || 0) / 55) * 100)}%`],
['🤲 Servant', `${s['servant'] || 0}`, `${Math.round(((s['servant'] || 0) / 55) * 100)}%`]
]
);
});
pdf.addSection('Development Recommendations', section => {
if (top === 'visionary') {
section.addText('1. Schedule regular check-ins to stay connected to details');
section.addText('2. Ask more questions before sharing your vision');
section.addText('3. Celebrate small wins, not just big achievements');
section.addText('4. Balance inspiration with practical roadmaps');
} else if (top === 'coach') {
section.addText('1. Practice making faster decisions when needed');
section.addText('2. Set clearer performance expectations upfront');
section.addText('3. Don\'t avoid difficult conversations about performance');
section.addText('4. Balance individual development with team results');
} else if (top === 'democratic') {
section.addText('1. Develop confidence in making solo decisions when needed');
section.addText('2. Set time limits for consensus-building');
section.addText('3. Learn to move forward with 80% agreement');
section.addText('4. Balance inclusion with efficiency');
} else if (top === 'pacesetter') {
section.addText('1. Practice patience and allow for learning curves');
section.addText('2. Delegate more and resist micromanaging');
section.addText('3. Recognize that not everyone operates at your pace');
section.addText('4. Build in recovery time to prevent team burnout');
} else {
section.addText('1. Practice being more directive when situations require it');
section.addText('2. Don\'t shy away from healthy conflict');
section.addText('3. Set boundaries to avoid being taken advantage of');
section.addText('4. Balance service with holding people accountable');
}
});
});
// ============ SUBMIT BUTTON ============
form.configureSubmitButton({
label: () => `👔 Get My ${styleInfo[getTopStyle()].title} Profile`
});
form.configureSubmitBehavior({
sendToServer: true
});
}