“`html

Project Intake (Quick)

Answer a few quick questions. You’ll only see fields that apply to what you select.

What do you need? *

Select one or more.

Branding details

Packaging details

Typically takes under 2 minutes.

(function () { const form = document.getElementById(‘brandex-intake’); const sections = Array.from(form.querySelectorAll(‘[data-section]’)); const otherWrap = document.getElementById(‘otherWrap’); const otherDesc = form.querySelector(‘input[name=”other_desc”]’); function updateVisibility() { const checked = Array.from(form.querySelectorAll(‘input[type=”checkbox”][name=”needs[]”]:checked’)) .map(cb => cb.getAttribute(‘data-toggle’)); // Show/hide conditional sections sections.forEach(sec => { const key = sec.getAttribute(‘data-section’); sec.style.display = checked.includes(key) ? ‘grid’ : ‘none’; }); // “Other” requires description when selected const otherSelected = checked.includes(‘other’); if (otherSelected) { otherWrap.style.display = ‘grid’; otherDesc.required = true; } else { otherWrap.style.display = ‘none’; otherDesc.required = false; otherDesc.value = ”; } } form.addEventListener(‘change’, (e) => { if (e.target && e.target.matches(‘input[type=”checkbox”][name=”needs[]”]’)) { updateVisibility(); } }); // Basic validation: must select at least one “need” form.addEventListener(‘submit’, (e) => { const anyNeed = form.querySelector(‘input[type=”checkbox”][name=”needs[]”]:checked’); if (!anyNeed) { e.preventDefault(); alert(‘Please select at least one option under “What do you need?”‘); } }); updateVisibility(); })();“`If you tell me what your form system is (WordPress + Gravity/Fluent/WPForms, Shopify, etc.), I can convert this into that platform’s exact field/conditional rules format.
Call
Text Map