// Run in DevTools Console on the page with the form const rows = [...document.querySelectorAll('.sqs-block-form form .field')] .map(f => { const control = f.querySelector('input, select, textarea'); const label = f.querySelector('label')?.textContent.trim() ?? f.querySelector('.title')?.textContent.trim() ?? f.getAttribute('data-title') ?? null; return { label, // what you see on the page name: control?.name ?? null, // key your script/spreadsheet should match id: control?.id ?? null, type: control?.type ?? control?.tagName?.toLowerCase() ?? null, required: !!control?.required }; }); console.table(rows); rows;