I am trying to achive following results in AEM:

checkbox1 shows/hides textfield1 and checkbox2. Checbox2 shows/hides textfield2.

As for now I am able to show/hide textfield1 and checkbox2 with below code but I am unable to make checkbox2 show/hide textfield2:

```
<items jcr:primaryType="nt:unstructured">
    <displayTextfield1
        jcr:primaryType="nt:unstructured"
        sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
        text="Display textfield1"
        fieldDescription="Check to display textfield1"
        name="./displayTextfield1"
        uncheckedValue="{Boolean}false"
        checked="{Boolean}false"
        value="{Boolean}true"
        granite:class="cq-dialog-showhide">
        <granite:data
            jcr:primaryType="nt:unstructured"
            cq-dialog-showhide-target=".showhide-textfield1"
            cq-msm-lockable="./displayTextfield1"/>
    </displayTextfield1>
    <displayTextfield1Hint
         jcr:primaryType="nt:unstructured"
         sling:resourceType="granite/ui/components/coral/foundation/form/hidden"
         name="./displayTextfield1@TypeHint"
         value="Boolean" />
    <textfield1PlaceHolder
        jcr:primaryType="nt:unstructured"
        sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
        fieldLabel="Place holder textfield1"
        name="./textfield1PlaceHolder"
        granite:class="showhide-textfield1">
        <granite:data
            jcr:primaryType="nt:unstructured"
            cq-dialog-showhide-value="true"
            cq-msm-lockable="./textfield1PlaceHolder"/>
    </textfield1PlaceHolder>
    <displayTextfield2
        jcr:primaryType="nt:unstructured"
        sling:resourceType="granite/ui/components/coral/foundation/form/checkbox"
        text="display textfield2"
        name="./displayTextfield2"
        uncheckedValue="{Boolean}false"
        checked="{Boolean}false"
        value="{Boolean}true"
        granite:class="showhide-textfield1">
        <granite:data
            cq-dialog-showhide-target=".showhide-textfield2"
            jcr:primaryType="nt:unstructured"
            cq-dialog-showhide-value="true"
            cq-msm-lockable="./displayTextfield2"/>
    </displayTextfield2>
    <displayTextfield2Hint
        jcr:primaryType="nt:unstructured"
        sling:resourceType="granite/ui/components/coral/foundation/form/hidden"
        name="./displayTextfield2@TypeHint"
        value="Boolean" />
    <displayTextfield2PlaceHolder
        jcr:primaryType="nt:unstructured"
        sling:resourceType="granite/ui/components/coral/foundation/form/textfield"
        fieldLabel="display Textfield2"
        name="./displayTextfield2PlaceHolder"
        granite:class="showhide-textfield2">
        <granite:data
            jcr:primaryType="nt:unstructured"
            cq-dialog-showhide-value="true"
            cq-msm-lockable="./displayTextfield2PlaceHolder"/>
    </displayTextfield2PlaceHolder>

```

Can you help me with that? Thanks!