diff --git a/lib/form_filler.mjs b/lib/form_filler.mjs index 1580ed2..b8f9eb6 100644 --- a/lib/form_filler.mjs +++ b/lib/form_filler.mjs @@ -664,6 +664,9 @@ Answer:`; // --- Fieldsets (radios and checkbox groups) --- for (const field of snap.fieldsets) { if (!field.isCheckboxGroup && field.anyChecked) continue; + // Skip fieldsets that are just labels for input groups already handled (e.g. Phone widget) + const fsLegendLower = field.legend.toLowerCase(); + if (fsLegendLower === 'phone' || fsLegendLower === 'mobile' || fsLegendLower === 'name') continue; let answer = this.answerFor(field.legend); if (answer && field.options.length > 0) {