11<?xml version =" 1.0" encoding =" UTF-8" ?>
2- <jcr : root xmlns : sling =" http://sling.apache.org/jcr/sling/1.0" xmlns : fd =" http://www.adobe.com/aemfd/fd/1.0"
3- xmlns : cq =" http://www.day.com/jcr/cq/1.0" xmlns : jcr =" http://www.jcp.org/jcr/1.0"
4- xmlns : nt =" http://www.jcp.org/jcr/nt/1.0"
5- jcr : primaryType =" cq:Page" >
6- <jcr : content
7- cq : deviceGroups =" [mobile/groups/responsive]"
8- cq : lastModified =" {Date}2021-12-02T15:12:59.900+05:30"
9- cq : lastModifiedBy =" admin"
10- cq : template =" /conf/core-components-examples/settings/wcm/templates/af-blank-v2"
11- jcr : language =" en"
12- jcr : primaryType =" cq:PageContent"
13- jcr : title =" Adaptive Form V2 (IT)"
14- sling : resourceType =" forms-components-examples/components/page" >
15- <guideContainer
16- fd : version =" 2.1"
17- fieldType =" form"
18- jcr : primaryType =" nt:unstructured"
19- sling : resourceType =" forms-components-examples/components/form/container" >
20- <textinput
21- fieldType =" text-input"
22- jcr : primaryType =" nt:unstructured"
23- name =" textinput1"
24- jcr : title =" Text Input 1"
25- sling : resourceType =" forms-components-examples/components/form/textinput" />
26- <image
27- jcr : created =" {Date}2022-10-13T14:31:23.772+05:30"
28- jcr : createdBy =" admin"
29- jcr : lastModified =" {Date}2022-10-13T14:31:23.772+05:30"
30- jcr : lastModifiedBy =" admin"
31- jcr : primaryType =" nt:unstructured"
32- jcr : title =" Image"
33- sling : resourceType =" forms-components-examples/components/form/image"
34- fieldType =" image"
35- name =" image1665651689720" >
36- <fd : rules
37- jcr : primaryType =" nt:unstructured"
38- visible =" !(textinput1 == 'Hide me') || textinput1 == 'Show me'" />
39- <fd : events jcr : primaryType =" nt:unstructured" />
40- </image >
41-
42- </guideContainer >
43- </jcr : content >
44- </jcr : root >
2+ <jcr : root xmlns : jcr =" http://www.jcp.org/jcr/1.0" xmlns : nt =" http://www.jcp.org/jcr/nt/1.0" xmlns : cq =" http://www.day.com/jcr/cq/1.0" xmlns : fd =" http://www.adobe.com/aemfd/fd/1.0" xmlns : sling =" http://sling.apache.org/jcr/sling/1.0"
3+ jcr:primaryType=" cq:Page" >
4+ <jcr : content
5+ cq:deviceGroups=" [mobile/groups/responsive]"
6+ cq:lastModified=" {Date}2025-01-23T19:42:45.919+05:30"
7+ cq:lastModifiedBy=" admin"
8+ cq:template=" /conf/core-components-examples/settings/wcm/templates/af-blank-v2"
9+ fd:ignoreTranslationInvalidation=" {Boolean}true"
10+ jcr:language=" en"
11+ jcr:primaryType=" cq:PageContent"
12+ jcr:title=" Adaptive Form V2 (IT)"
13+ sling:resourceType=" forms-components-examples/components/page" >
14+ <guideContainer
15+ fd:version=" 2.1"
16+ jcr:lastModified=" {Date}2025-01-23T19:40:52.901+05:30"
17+ jcr:lastModifiedBy=" admin"
18+ jcr:primaryType=" nt:unstructured"
19+ sling:resourceType=" forms-components-examples/components/form/container"
20+ clientLibRef=" corecomponent.it.customfunction"
21+ fieldType=" form"
22+ schemaType=" none"
23+ specVersion=" 0.14.2"
24+ textIsRich=" true"
25+ thankYouMessage=" < p>Thank you for submitting the form.< /p>
 "
26+ thankYouOption=" page" >
27+ <textinput
28+ jcr:primaryType=" nt:unstructured"
29+ jcr:title=" Text Input 1"
30+ sling:resourceType=" forms-components-examples/components/form/textinput"
31+ fieldType=" text-input"
32+ name=" textinput1" />
33+ <image
34+ jcr:created=" {Date}2022-10-13T14:31:23.772+05:30"
35+ jcr:createdBy=" admin"
36+ jcr:lastModified=" {Date}2022-10-13T14:31:23.772+05:30"
37+ jcr:lastModifiedBy=" admin"
38+ jcr:primaryType=" nt:unstructured"
39+ jcr:title=" Image"
40+ sling:resourceType=" forms-components-examples/components/form/image"
41+ fieldType=" image"
42+ name=" image1665651689720" >
43+ <fd : rules
44+ jcr:primaryType=" nt:unstructured"
45+ visible=" !(textinput1 == 'Hide me') || textinput1 == 'Show me'" />
46+ <fd : events jcr : primaryType =" nt:unstructured" />
47+ </image >
48+ <image_1118656190
49+ jcr:created=" {Date}2025-01-23T19:41:02.563+05:30"
50+ jcr:createdBy=" admin"
51+ jcr:lastModified=" {Date}2025-01-23T19:42:29.946+05:30"
52+ jcr:lastModifiedBy=" admin"
53+ jcr:primaryType=" nt:unstructured"
54+ jcr:title=" Image"
55+ sling:resourceType=" forms-components-examples/components/form/image"
56+ dataRef=" $.a.b"
57+ fieldType=" image"
58+ fileReference=
" /content/dam/reference-fragments/[email protected] " 59+ name=" image_11186561901737641462594"
60+ visible=" {Boolean}true" />
61+ <button
62+ jcr:created=" {Date}2025-01-23T19:41:38.650+05:30"
63+ jcr:createdBy=" admin"
64+ jcr:lastModified=" {Date}2025-01-23T19:41:38.650+05:30"
65+ jcr:lastModifiedBy=" admin"
66+ jcr:primaryType=" nt:unstructured"
67+ jcr:title=" Button"
68+ sling:resourceType=" forms-components-examples/components/form/button"
69+ dorExclusion=" true"
70+ fieldType=" button"
71+ name=" button1737641498676" >
72+ <fd : rules
73+ fd:click="[{"nodeName":"ROOT"\,"items":[{"nodeName":"STATEMENT"\,"choice":{"nodeName":"EVENT_SCRIPTS"\,"items":[{"nodeName":"EVENT_CONDITION"\,"choice":{"nodeName":"EVENT_AND_COMPARISON"\,"items":[{"nodeName":"COMPONENT"\,"value":{"id":"$form.button1737641498676"\,"type":"BUTTON"\,"name":"button1737641498676"}}\,{"nodeName":"EVENT_AND_COMPARISON_OPERATOR"\,"choice":{"nodeName":"is clicked"\,"value":null}}\,{"nodeName":"PRIMITIVE_EXPRESSION"\,"choice":null}]}\,"nested":false}\,{"nodeName":"Then"\,"value":null}\,{"nodeName":"BLOCK_STATEMENTS"\,"items":[{"nodeName":"BLOCK_STATEMENT"\,"choice":{"nodeName":"FUNCTION_CALL"\,"parentNodeName":"BLOCK_STATEMENT"\,"functionName":{"id":"testImageImportData"\,"displayName":"testImageImportData"\,"type":"STRING|NUMBER|BOOLEAN|DATE|ARRAY|OBJECT"\,"isDuplicate":false\,"displayPath":""\,"args":[]\,"impl":"$0()"}\,"params":[]}}]}]}}]\,"isValid":true\,"enabled":true\,"version":1\,"script":["testImageImportData()"]\,"eventName":"Click"\,"ruleType":""\,"description":""}]"
74+ jcr:primaryType=" nt:unstructured"
75+ validationStatus=" valid" />
76+ <fd : events
77+ jcr:primaryType=" nt:unstructured"
78+ click=" [testImageImportData()]" />
79+ </button >
80+ </guideContainer >
81+ </jcr : content >
82+ </jcr : root >
0 commit comments