Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@
jcr:primaryType="cq:Component"
jcr:title="Adaptive Form CheckBox Group"
jcr:description="Add checkboxes to select one or more of the available options."
sling:resourceSuperType="core/fd/components/form/checkboxgroup/v1/checkboxgroup"
sling:resourceSuperType="core/fd/components/form/checkboxgroup/v2/checkboxgroup"
componentGroup="Core Components Examples - Adaptive Form"/>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
jcr:primaryType="cq:Page">
<jcr:content
cq:deviceGroups="[/etc/mobile/groups/responsive]"
cq:lastModified="{Date}2023-03-10T15:40:57.975+05:30"
cq:lastModified="{Date}2025-11-09T15:40:57.975+05:30"
cq:lastModifiedBy="admin"
cq:template="/conf/core-components-it/settings/wcm/templates/core-components-it-template"
fd:translationIds="\{&quot;jcr:title&quot;:&quot;jcr:title##5619&quot;}"
Expand All @@ -21,7 +21,7 @@
themeRef="/libs/fd/af/themes/canvas">
<accordion
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##accordion##jcr:title##257&quot;}"
jcr:lastModified="{Date}2023-03-10T15:37:31.613+05:30"
jcr:lastModified="{Date}2025-11-09T15:37:31.613+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Accordion"
Expand All @@ -30,7 +30,7 @@
name="accordion1678442852017"/>
<button
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##button##jcr:title##7236&quot;}"
jcr:lastModified="{Date}2023-03-10T15:37:36.979+05:30"
jcr:lastModified="{Date}2025-11-09T15:37:36.979+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Button"
Expand All @@ -40,19 +40,19 @@
name="button1678442857354"/>
<checkboxgroup
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##checkboxgroup##jcr:title##3503&quot;,&quot;enumNames&quot;:&quot;guideContainer##checkboxgroup##enumNames##4110&quot;}"
jcr:lastModified="{Date}2023-03-10T15:37:45.920+05:30"
jcr:lastModified="{Date}2025-11-09T15:37:45.920+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Check Box Group"
sling:resourceType="forms-components-examples/components/form/checkboxgroup"
sling:resourceType="core/fd/components/form/checkboxgroup/v1/checkboxgroup"
enum="[0,1]"
enumNames="[Item 1, Item 2]"
fieldType="checkbox-group"
name="checkboxgroup1"
type="number[]"/>
<datepicker
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##datepicker##jcr:title##9506&quot;}"
jcr:lastModified="{Date}2023-03-10T15:37:55.176+05:30"
jcr:lastModified="{Date}2025-11-09T15:37:55.176+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Date Input"
Expand All @@ -61,7 +61,7 @@
name="datepicker1678442875478"/>
<dropdown
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##dropdown##jcr:title##4797&quot;}"
jcr:lastModified="{Date}2023-03-10T15:38:06.785+05:30"
jcr:lastModified="{Date}2025-11-09T15:38:06.785+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Dropdown"
Expand All @@ -70,7 +70,7 @@
name="dropdown1678442886916"/>
<emailinput
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##emailinput##jcr:title##7492&quot;}"
jcr:lastModified="{Date}2023-03-10T15:38:12.514+05:30"
jcr:lastModified="{Date}2025-11-09T15:38:12.514+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Email Input"
Expand All @@ -79,7 +79,7 @@
name="emailinput1678442892736"/>
<fileinput
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##fileinput##jcr:title##6496&quot;,&quot;buttonText&quot;:&quot;guideContainer##fileinput##buttonText##3328&quot;}"
jcr:lastModified="{Date}2023-03-10T15:38:14.840+05:30"
jcr:lastModified="{Date}2025-11-09T15:38:14.840+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="File Attachment"
Expand All @@ -90,7 +90,7 @@
name="fileinput1678442895099"/>
<tabsontop
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##tabsontop##jcr:title##9454&quot;}"
jcr:lastModified="{Date}2023-03-10T15:38:18.509+05:30"
jcr:lastModified="{Date}2025-11-09T15:38:18.509+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Tabs on top"
Expand All @@ -99,7 +99,7 @@
name="tabsontop1678442898658"/>
<image
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##image##jcr:title##3969&quot;}"
jcr:lastModified="{Date}2023-03-10T15:38:23.061+05:30"
jcr:lastModified="{Date}2025-11-09T15:38:23.061+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Image"
Expand All @@ -108,7 +108,7 @@
name="image1678442903853"/>
<numberinput
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##numberinput##jcr:title##9936&quot;}"
jcr:lastModified="{Date}2023-03-10T15:38:31.622+05:30"
jcr:lastModified="{Date}2025-11-09T15:38:31.622+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Number Input"
Expand All @@ -117,7 +117,7 @@
name="numberinput1678442911773"/>
<panelcontainer
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##panelcontainer##jcr:title##8236&quot;}"
jcr:lastModified="{Date}2023-03-10T15:38:37.624+05:30"
jcr:lastModified="{Date}2025-11-09T15:38:37.624+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Panel"
Expand All @@ -126,7 +126,7 @@
name="panelcontainer1678442917986"/>
<radiobutton
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##radiobutton##jcr:title##6191&quot;,&quot;enumNames&quot;:&quot;guideContainer##radiobutton##enumNames##1697&quot;}"
jcr:lastModified="{Date}2023-03-10T15:38:41.694+05:30"
jcr:lastModified="{Date}2025-11-09T15:38:41.694+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Radio Button"
Expand All @@ -138,7 +138,7 @@
orientation="horizontal"/>
<reset
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##reset##jcr:title##3395&quot;}"
jcr:lastModified="{Date}2023-03-10T15:38:46.678+05:30"
jcr:lastModified="{Date}2025-11-09T15:38:46.678+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Reset"
Expand All @@ -156,7 +156,7 @@
</reset>
<submit
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##submit##jcr:title##4521&quot;}"
jcr:lastModified="{Date}2023-03-10T15:38:51.626+05:30"
jcr:lastModified="{Date}2025-11-09T15:38:51.626+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Submit"
Expand All @@ -174,7 +174,7 @@
</submit>
<telephoneinput
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##telephoneinput##jcr:title##8743&quot;}"
jcr:lastModified="{Date}2023-03-10T15:38:54.904+05:30"
jcr:lastModified="{Date}2025-11-09T15:38:54.904+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Telephone Input"
Expand All @@ -183,7 +183,7 @@
name="telephoneinput1678442935121"/>
<text
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##text##jcr:title##9404&quot;}"
jcr:lastModified="{Date}2023-03-10T15:38:57.872+05:30"
jcr:lastModified="{Date}2025-11-09T15:38:57.872+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Text"
Expand All @@ -192,7 +192,7 @@
name="text1678442937952"/>
<textinput
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##textinput##jcr:title##6594&quot;}"
jcr:lastModified="{Date}2023-03-10T15:39:02.300+05:30"
jcr:lastModified="{Date}2025-11-09T15:39:02.300+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Text Input"
Expand All @@ -201,15 +201,15 @@
name="textinput1678442942382"/>
<title
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##title##jcr:title##8175&quot;}"
jcr:lastModified="{Date}2023-03-10T15:39:09.932+05:30"
jcr:lastModified="{Date}2025-11-09T15:39:09.932+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Title"
fieldType="plain-text"
sling:resourceType="forms-components-examples/components/form/title"/>
<wizard
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##wizard##jcr:title##299&quot;}"
jcr:lastModified="{Date}2023-03-10T15:39:45.951+05:30"
jcr:lastModified="{Date}2025-11-09T15:39:45.951+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="wizard"
Expand All @@ -218,13 +218,13 @@
name="wizard1678442986146"/>
<checkboxgroup7
fd:translationIds="\{&quot;jcr:title&quot;:&quot;guideContainer##checkboxgroup7##jcr:title##3329&quot;,&quot;enumNames&quot;:&quot;guideContainer##checkboxgroup7##enumNames##7570&quot;}"
jcr:created="{Date}2023-10-06T11:32:51.920+05:30"
jcr:created="{Date}2025-11-09T11:32:51.920+05:30"
jcr:createdBy="admin"
jcr:lastModified="{Date}2023-10-06T11:33:40.225+05:30"
jcr:lastModified="{Date}2025-11-09T11:33:40.225+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="&lt;p>&lt;b>Select Animal&lt;/b>&lt;/p>"
sling:resourceType="forms-components-examples/components/form/checkboxgroup"
sling:resourceType="core/fd/components/form/checkboxgroup/v1/checkboxgroup"
areOptionsRichText="true"
enabled="{Boolean}true"
enum="[0,1]"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling="http://sling.apache.org/jcr/sling/1.0" xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:rep="internal"
jcr:mixinTypes="[rep:AccessControllable]"
jcr:primaryType="sling:Folder"
hidden="true"/>
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
jcr:primaryType="cq:Page">
<jcr:content
cq:deviceGroups="[mobile/groups/responsive]"
cq:lastModified="{Date}2023-05-03T11:33:58.406+05:30"
cq:lastModified="{Date}2025-11-09T11:33:58.406+05:30"
cq:lastModifiedBy="admin"
cq:template="/conf/core-components-examples/settings/wcm/templates/af-blank-v2"
jcr:language="en"
Expand All @@ -16,7 +16,7 @@
sling:resourceType="forms-components-examples/components/form/container"
fieldType="form">
<checkboxgroup1
jcr:lastModified="{Date}2023-01-23T12:23:13.884+05:30"
jcr:lastModified="{Date}2025-11-09T12:23:13.884+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Check Box Group 1"
Expand All @@ -33,7 +33,7 @@
type="string[]"
visible="{Boolean}true"/>
<checkboxgroup2
jcr:lastModified="{Date}2022-09-10T23:45:20.572+05:30"
jcr:lastModified="{Date}2025-11-09T23:45:20.572+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Check Box Group 2"
Expand All @@ -59,11 +59,11 @@
change="[if((contains($field\, '0') &amp;&amp; contains($field\, '3'))\, dispatchEvent(checkboxgroup31671860692147\, 'custom:setProperty'\, {visible : false()})\, {}),if((contains($field\, '0') &amp;&amp; contains($field\, '3'))\, dispatchEvent(checkboxgroup_16425955381671860957891\, 'custom:setProperty'\, {visible : true()})\, {}),if((contains($field\, '1') &amp;&amp; contains($field\, '2'))\, dispatchEvent(checkboxgroup1662722663424\, 'custom:setProperty'\, {enabled : true()})\, {}),if((contains($field\, '1') &amp;&amp; contains($field\, '2'))\, dispatchEvent(checkboxgroup31671860692147\, 'custom:setProperty'\, {enabled : false()})\, {})]"/>
</checkboxgroup2>
<checkboxgroup3
jcr:lastModified="{Date}2022-12-24T11:19:33.329+05:30"
jcr:lastModified="{Date}2025-11-09T11:19:33.329+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Check Box Group 3"
sling:resourceType="forms-components-examples/components/form/checkboxgroup"
sling:resourceType="core/fd/components/form/checkboxgroup/v1/checkboxgroup"
enabled="{Boolean}true"
enum="[0,1]"
enumNames="[Item 1, Item 2]"
Expand All @@ -83,7 +83,7 @@
change="[if(contains($field\, 1)\, dispatchEvent(checkboxgroup1662722663425\, 'custom:setProperty'\, {value : `null`})\, {}),if(contains($field\, 1)\, dispatchEvent(checkboxgroup_10272300251673590771006\, 'custom:setProperty'\, {value : mid('0'\,0\,1)})\, {})]"/>
</checkboxgroup3>
<checkboxgroup4
jcr:lastModified="{Date}2022-12-24T11:19:11.733+05:30"
jcr:lastModified="{Date}2025-11-09T11:19:11.733+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Check Box Group 4"
Expand Down Expand Up @@ -114,11 +114,11 @@
change="[if(contains($field\, '2')\, dispatchEvent(checkboxgroup1662722663424\, 'custom:setProperty'\, {enabled : true()})\, {}),if(contains($field\, '2')\, dispatchEvent(checkboxgroup1662722663425\, 'custom:setProperty'\, {enabled : false()})\, {})]"/>
</checkboxgroup4>
<checkboxgroup5
jcr:lastModified="{Date}2023-01-13T11:49:37.118+05:30"
jcr:lastModified="{Date}2025-11-09T11:49:37.118+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Check Box Group 5"
sling:resourceType="forms-components-examples/components/form/checkboxgroup"
sling:resourceType="core/fd/components/form/checkboxgroup/v1/checkboxgroup"
enabled="{Boolean}true"
enum="[0,1]"
enumNames="[Item 1, Item 2]"
Expand All @@ -137,11 +137,11 @@
<fd:events jcr:primaryType="nt:unstructured"/>
</checkboxgroup5>
<checkboxgroup
jcr:lastModified="{Date}2023-05-03T11:33:58.397+05:30"
jcr:lastModified="{Date}2025-11-09T11:33:58.397+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Check Box Group 6"
sling:resourceType="forms-components-examples/components/form/checkboxgroup"
sling:resourceType="core/fd/components/form/checkboxgroup/v1/checkboxgroup"
enabled="{Boolean}true"
enum="[0,1,0]"
enumNames="[Item 1, Item 2,Item 3]"
Expand All @@ -154,13 +154,13 @@
type="number[]"
visible="{Boolean}true"/>
<checkboxgroup7
jcr:created="{Date}2023-10-06T11:32:51.920+05:30"
jcr:created="{Date}2025-11-09T11:32:51.920+05:30"
jcr:createdBy="admin"
jcr:lastModified="{Date}2023-10-06T11:33:40.225+05:30"
jcr:lastModified="{Date}2025-11-09T11:33:40.225+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="&lt;p>&lt;b>Select Animal&lt;/b>&lt;/p>"
sling:resourceType="forms-components-examples/components/form/checkboxgroup"
sling:resourceType="core/fd/components/form/checkboxgroup/v1/checkboxgroup"
areOptionsRichText="true"
enabled="{Boolean}true"
enum="[0,1]"
Expand All @@ -176,9 +176,9 @@
unboundFormElement="{Boolean}false"
visible="{Boolean}true"/>
<resetbutton
jcr:created="{Date}2024-11-14T18:03:13.181+05:30"
jcr:created="{Date}2025-11-09T18:03:13.181+05:30"
jcr:createdBy="admin"
jcr:lastModified="{Date}2024-11-14T18:03:13.181+05:30"
jcr:lastModified="{Date}2025-11-09T18:03:13.181+05:30"
jcr:lastModifiedBy="admin"
jcr:primaryType="nt:unstructured"
jcr:title="Reset"
Expand Down
Loading