diff --git a/src/components/checkboxes/conditional-reveal/index.njk b/src/components/checkboxes/conditional-reveal/index.njk index 5686613d0d..48389ecd93 100644 --- a/src/components/checkboxes/conditional-reveal/index.njk +++ b/src/components/checkboxes/conditional-reveal/index.njk @@ -44,8 +44,8 @@ layout: layout-example.njk {% endset -%} {{ govukCheckboxes({ - idPrefix: "citizenship-conditional", - name: "citizen", + idPrefix: "contact", + name: "contact", fieldset: { legend: { text: "How would you like to be contacted?", diff --git a/src/components/radios/conditional-reveal/index.njk b/src/components/radios/conditional-reveal/index.njk index 6f5c257d58..4eb45d57a6 100644 --- a/src/components/radios/conditional-reveal/index.njk +++ b/src/components/radios/conditional-reveal/index.njk @@ -44,8 +44,8 @@ layout: layout-example.njk {% endset -%} {{ govukRadios({ - idPrefix: "how-contacted-conditional", - name: "how-contacted", + idPrefix: "contact", + name: "contact", fieldset: { legend: { text: "How would you prefer to be contacted?",