File tree Expand file tree Collapse file tree
lambdas/packages/hrm-form-definitions/form-definitions/usvt/v1/webchat Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 "type" : " input" ,
77 "name" : " friendlyName" ,
88 "label" : " Nickname" ,
9- "placeholder" : " GuestName" ,
10- "required" : true
11- },
12- {
13- "type" : " input" ,
14- "name" : " firstName" ,
15- "label" : " First Name" ,
16- "placeholder" : " GuestName" ,
9+ "placeholder" : " Enter Your Name" ,
1710 "required" : true
1811 },
1912 {
2013 "type" : " email" ,
21- "name" : " contactIdentifier" ,
22- "label" : " Email" ,
23- "required" : true ,
24- "placeholder" : " Email"
25- },
26- {
27- "label" : " Age" ,
28- "type" : " select" ,
29- "name" : " age" ,
30- "required" : true ,
31- "defaultValue" : " " ,
32- "options" : [
33- {
34- "value" : " " ,
35- "label" : " "
36- },
37- {
38- "value" : " Unborn" ,
39- "label" : " Unborn"
40- },
41- {
42- "value" : " 00" ,
43- "label" : " 0"
44- },
45- {
46- "value" : " 01" ,
47- "label" : " 1"
48- },
49- {
50- "value" : " 02" ,
51- "label" : " 2"
52- },
53- {
54- "value" : " 03" ,
55- "label" : " 3"
56- },
57- {
58- "value" : " 04" ,
59- "label" : " 4"
60- },
61- {
62- "value" : " 05" ,
63- "label" : " 5"
64- },
65- {
66- "value" : " 06" ,
67- "label" : " 6"
68- },
69- {
70- "value" : " 07" ,
71- "label" : " 7"
72- },
73- {
74- "value" : " 08" ,
75- "label" : " 8"
76- },
77- {
78- "value" : " 09" ,
79- "label" : " 9"
80- },
81- {
82- "value" : " 10" ,
83- "label" : " 10"
84- },
85- {
86- "value" : " 11" ,
87- "label" : " 11"
88- },
89- {
90- "value" : " 12" ,
91- "label" : " 12"
92- },
93- {
94- "value" : " 13" ,
95- "label" : " 13"
96- },
97- {
98- "value" : " 14" ,
99- "label" : " 14"
100- },
101- {
102- "value" : " 15" ,
103- "label" : " 15"
104- },
105- {
106- "value" : " 16" ,
107- "label" : " 16"
108- },
109- {
110- "value" : " 17" ,
111- "label" : " 17"
112- },
113- {
114- "value" : " 18" ,
115- "label" : " 18"
116- },
117- {
118- "value" : " 19" ,
119- "label" : " 19"
120- },
121- {
122- "value" : " 20" ,
123- "label" : " 20"
124- },
125- {
126- "value" : " 21" ,
127- "label" : " 21"
128- },
129- {
130- "value" : " 22" ,
131- "label" : " 22"
132- },
133- {
134- "value" : " 23" ,
135- "label" : " 23"
136- },
137- {
138- "value" : " 24" ,
139- "label" : " 24"
140- },
141- {
142- "value" : " >25" ,
143- "label" : " >25"
144- },
145- {
146- "value" : " Unknown" ,
147- "label" : " Unknown"
148- }
149- ]
150- },
151- {
152- "label" : " Gender" ,
153- "type" : " select" ,
154- "name" : " gender" ,
14+ "name" : " email" ,
15+ "label" : " Email Address" ,
15516 "required" : true ,
156- "defaultValue" : " " ,
157- "options" : [
158- {
159- "value" : " " ,
160- "label" : " "
161- },
162- {
163- "value" : " Girl" ,
164- "label" : " Girl"
165- },
166- {
167- "value" : " Boy" ,
168- "label" : " Boy"
169- },
170- {
171- "value" : " Non-Binary" ,
172- "label" : " Non-Binary"
173- },
174- {
175- "value" : " Unknown" ,
176- "label" : " Unknown"
177- }
178- ]
179- },
180- {
181- "type" : " select" ,
182- "name" : " province" ,
183- "label" : " Province" ,
184- "required" : false ,
185- "defaultValue" : " " ,
186- "options" : [
187- {
188- "value" : " " ,
189- "label" : " "
190- },
191- {
192- "value" : " Northern" ,
193- "label" : " Northern"
194- },
195- {
196- "value" : " Eastern" ,
197- "label" : " Eastern"
198- },
199- {
200- "value" : " Western" ,
201- "label" : " Western"
202- },
203- {
204- "value" : " Southern" ,
205- "label" : " Southern"
206- },
207- {
208- "value" : " Unknown" ,
209- "label" : " Unknown"
210- }
211- ]
212- },
213- {
214- "name" : " district" ,
215- "label" : " District" ,
216- "type" : " dependent-select" ,
217- "dependsOn" : " province" ,
218- "required" : false ,
219- "options" : {
220- "Northern" : [
221- {
222- "value" : " District A" ,
223- "label" : " District A"
224- },
225- {
226- "value" : " District B" ,
227- "label" : " District B"
228- },
229- {
230- "value" : " District C" ,
231- "label" : " District C"
232- },
233- {
234- "value" : " Unknown" ,
235- "label" : " Unknown"
236- }
237- ],
238- "Eastern" : [
239- {
240- "value" : " District A" ,
241- "label" : " District A"
242- },
243- {
244- "value" : " District B" ,
245- "label" : " District B"
246- },
247- {
248- "value" : " District C" ,
249- "label" : " District C"
250- },
251- {
252- "value" : " Unknown" ,
253- "label" : " Unknown"
254- }
255- ],
256- "Western" : [
257- {
258- "value" : " District A" ,
259- "label" : " District A"
260- },
261- {
262- "value" : " District B" ,
263- "label" : " District B"
264- },
265- {
266- "value" : " District C" ,
267- "label" : " District C"
268- },
269- {
270- "value" : " Unknown" ,
271- "label" : " Unknown"
272- }
273- ],
274- "Southern" : [
275- {
276- "value" : " District A" ,
277- "label" : " District A"
278- },
279- {
280- "value" : " District B" ,
281- "label" : " District B"
282- },
283- {
284- "value" : " District C" ,
285- "label" : " District C"
286- },
287- {
288- "value" : " Unknown" ,
289- "label" : " Unknown"
290- }
291- ]
292- }
293- },
294- {
295- "label" : " How urgent is your situation?" ,
296- "type" : " select" ,
297- "name" : " urgencyLevel" ,
298- "required" : false ,
299- "defaultValue" : " " ,
300- "options" : [
301- {
302- "value" : " " ,
303- "label" : " "
304- },
305- {
306- "value" : " Urgent" ,
307- "label" : " Urgent"
308- },
309- {
310- "value" : " Critical" ,
311- "label" : " Critical"
312- },
313- {
314- "value" : " Non-critical" ,
315- "label" : " Non-critical"
316- },
317- {
318- "value" : " Other" ,
319- "label" : " Other"
320- }
321- ]
322- },
323- {
324- "type" : " checkbox" ,
325- "name" : " termsAndConditions" ,
326- "label" : " I've read and accept the <a href=\" https://en.wikipedia.org/wiki/Terms_of_service\" target=\" _blank\" >Terms and Conditions</a>" ,
327- "required" : {
328- "value" : true ,
329- "message" : " Sorry, if you don't accept our terms and conditions we can't provide counselling to you."
330- }
17+ "placeholder" : " Enter Your Email Address"
33118 }
33219 ]
33320}
You can’t perform that action at this time.
0 commit comments