|
41 | 41 | { |
42 | 42 | "id": "form", |
43 | 43 | "fields": [ |
44 | | - { |
45 | | - "component": "select", |
46 | | - "name": "thankYouOption", |
47 | | - "label": "On Submit", |
48 | | - "valueType": "string", |
49 | | - "options": [ |
50 | | - { |
51 | | - "name": "Show message", |
52 | | - "value": "message" |
53 | | - } |
54 | | - ] |
55 | | - }, |
56 | | - { |
57 | | - "component": "richtext", |
58 | | - "name": "thankYouMessage", |
59 | | - "label": "Message Content", |
60 | | - "valueType": "string", |
61 | | - "condition": { "==": [{ "var": "thankYouOption" }, "message"] } |
62 | | - }, |
63 | | - { |
64 | | - "component": "select", |
65 | | - "valueType": "string", |
66 | | - "name": "actionType", |
67 | | - "label": "Submit Action", |
68 | | - "options": [ |
69 | | - { |
70 | | - "name": "Submit to REST endpoint", |
71 | | - "value": "fd/af/components/guidesubmittype/restendpoint" |
72 | | - }, |
73 | | - { |
74 | | - "name": "Send email", |
75 | | - "value": "fd/af/components/guidesubmittype/email" |
76 | | - }, |
77 | | - { |
78 | | - "name": "Persist to Spreadsheet", |
79 | | - "value": "spreadsheet" |
80 | | - } |
81 | | - ], |
82 | | - "value" : "" |
83 | | - }, |
84 | | - { |
85 | | - "component": "boolean", |
86 | | - "name": "enableRestEndpointPost", |
87 | | - "label": "Enable POST request", |
88 | | - "valueType": "string", |
89 | | - "condition": { "==": [{ "var": "actionType" }, "fd/af/components/guidesubmittype/restendpoint"] } |
90 | | - }, |
91 | | - { |
92 | | - "component": "text", |
93 | | - "name": "restEndpointPostUrl", |
94 | | - "label": "URL For POST request", |
95 | | - "valueType": "string", |
96 | | - "condition": { "==": [{ "var": "actionType" }, "fd/af/components/guidesubmittype/restendpoint"] } |
97 | | - }, |
98 | | - { |
99 | | - "condition": { "==": [{ "var": "actionType" }, "spreadsheet"] }, |
100 | | - "component": "text", |
101 | | - "name": "spreadsheetUrl", |
102 | | - "label": "Spreadsheet Url", |
103 | | - "valueType": "string" |
104 | | - }, |
105 | | - { |
106 | | - "component": "container", |
107 | | - "name": "email", |
108 | | - "label": "Email Configuration", |
109 | | - "collapsible": false, |
110 | | - "condition": { "==": [{ "var": "actionType" }, "fd/af/components/guidesubmittype/email"] }, |
111 | | - "fields": [ |
112 | | - { |
113 | | - "component": "text", |
114 | | - "name": "from", |
115 | | - "label": "From", |
116 | | - "valueType": "string" |
117 | | - }, |
118 | | - { |
119 | | - "component": "text", |
120 | | - "name": "mailto", |
121 | | - "label": "To", |
122 | | - "valueType": "string", |
123 | | - "multi": true, |
124 | | - "required": true |
125 | | - }, |
126 | | - { |
127 | | - "component": "text", |
128 | | - "name": "cc", |
129 | | - "label": "CC", |
130 | | - "valueType": "string", |
131 | | - "multi": true |
132 | | - }, |
133 | | - { |
134 | | - "component": "text", |
135 | | - "name": "bcc", |
136 | | - "label": "BCC", |
137 | | - "valueType": "string", |
138 | | - "multi": true |
139 | | - }, |
140 | | - { |
141 | | - "component": "text", |
142 | | - "name": "subject", |
143 | | - "label": "Subject", |
144 | | - "valueType": "string" |
145 | | - }, |
146 | | - { |
147 | | - "component": "boolean", |
148 | | - "name": "useExternalEmailTemplate", |
149 | | - "label": "Use external template", |
150 | | - "valueType": "boolean" |
151 | | - }, |
152 | | - { |
153 | | - "component": "boolean", |
154 | | - "name": "useHtmlTemplate", |
155 | | - "label": "Use html template", |
156 | | - "valueType": "boolean" |
157 | | - }, |
158 | | - { |
159 | | - "component": "aem-content", |
160 | | - "name": "templatePath", |
161 | | - "label": "External template path", |
162 | | - "valueType": "string", |
163 | | - "condition": { "==": [{ "var": "useExternalEmailTemplate" }, true] } |
164 | | - }, |
165 | | - { |
166 | | - "component": "richtext", |
167 | | - "name": "template", |
168 | | - "label": "Email template", |
169 | | - "valueType": "string", |
170 | | - "condition": { "!=": [{ "var": "useExternalEmailTemplate" }, true] } |
171 | | - }, |
172 | | - { |
173 | | - "component": "boolean", |
174 | | - "name": "includeAttachments", |
175 | | - "label": "Include attachments", |
176 | | - "valueType": "boolean" |
177 | | - } |
178 | | - ] |
179 | | - } |
| 44 | + { |
| 45 | + "component": "container", |
| 46 | + "name": "basic", |
| 47 | + "label": "Use the Edit Form Properties extension to configure Adaptive Form properties, including Submit Action, Prefill, and Thank-You options.", |
| 48 | + "description": "Visit https://www.adobe.com/go/learn_aemforms_cs_properties_ext for more details.", |
| 49 | + "collapsible": false, |
| 50 | + "fields": [] |
| 51 | + } |
180 | 52 | ] |
181 | 53 | }, |
182 | 54 | { |
|
0 commit comments