diff --git a/site/public/order/fcc-carrier-registration/index.html b/site/public/order/fcc-carrier-registration/index.html index 43b2fe6..1796753 100644 --- a/site/public/order/fcc-carrier-registration/index.html +++ b/site/public/order/fcc-carrier-registration/index.html @@ -514,6 +514,8 @@ select:focus,input:focus{outline:none;border-color:#1e3a5f;box-shadow:0 0 0 2px // ── Step 1 → 2: Derive registrations ── document.getElementById('btn-next-1').addEventListener('click', function() { if (wizard.serviceTypes.length === 0) { alert('Please select at least one service type.'); return; } + if (!document.querySelector('[data-custtype].selected')) { alert('Please select who your customers are (retail, wholesale, or both).'); return; } + if (wizard.serviceTypes.indexOf('voice') >= 0 && wizard.customerType !== 'wholesale' && !wizard.voiceDelivery) { alert('Please select how you will deliver voice service.'); return; } var hasVoice = wizard.serviceTypes.indexOf('voice') >= 0; var hasBroadband = wizard.serviceTypes.indexOf('broadband') >= 0;