PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.2
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.2
6.2.14 6.2.13 6.2.12 6.2.10 6.2.11 6.2.9 6.2.8 6.2.7 6.2.6 6.2.5 6.2.4 6.2.3 6.2.2 3.6.22 3.6.31 3.6.40 3.6.41 3.6.42 3.6.50 3.6.51 3.6.60 3.6.61 3.6.62 3.6.64 3.6.65 All 196 releases
fluentform / app / Services / FormBuilder / ElementSettingsPlacement.php

ElementSettingsPlacement.php in Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder 6.2.2, at app/Services/FormBuilder/ElementSettingsPlacement.php

520 lines 12.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * element_settings_placement
5 *
6 * Returns an array of countries and codes.
7 *
8 * @author WooThemes
9 *
10 * @category i18n
11 * @package fluentform/i18n
12 *
13 * @version 2.5.0
14 */
15
16 return [
17 'input_name' => [
18 'general' => [
19 'admin_field_label',
20 'name_fields',
21 'label_placement',
22 ],
23 'advanced' => [
24 'container_class',
25 'name',
26 'conditional_logics',
27 ],
28 ],
29 'input_email' => [
30 'general' => [
31 'label',
32 'label_placement',
33 'admin_field_label',
34 'placeholder',
35 'validation_rules',
36 ],
37 'advanced' => [
38 'value',
39 'container_class',
40 'class',
41 'help_message',
42 'is_unique',
43 'unique_validation_message',
44 'prefix_label',
45 'suffix_label',
46 'name',
47 'conditional_logics',
48 ],
49 ],
50 'input_text' => [
51 'general' => [
52 'label',
53 'label_placement',
54 'admin_field_label',
55 'placeholder',
56 'temp_mask',
57 'data-mask',
58 'data-mask-reverse',
59 'data-clear-if-not-match',
60 'mobile_keyboard_type',
61 'validation_rules',
62 ],
63 'advanced' => [
64 'value',
65 'container_class',
66 'class',
67 'help_message',
68 'prefix_label',
69 'suffix_label',
70 'name',
71 'maxlength',
72 'is_unique',
73 'unique_validation_message',
74 'conditional_logics',
75 ],
76 'generalExtras' => [],
77 'advancedExtras' => [],
78 ],
79 'textarea' => [
80 'general' => [
81 'label',
82 'label_placement',
83 'admin_field_label',
84 'placeholder',
85 'rows',
86 'cols',
87 'validation_rules',
88 ],
89 'advanced' => [
90 'value',
91 'container_class',
92 'class',
93 'help_message',
94 'prefix_label',
95 'suffix_label',
96 'name',
97 'maxlength',
98 'conditional_logics',
99 ],
100 ],
101 'address' => [
102 'general' => [
103 'label',
104 'admin_field_label',
105 'address_fields',
106 ],
107 'advanced' => [
108 'class',
109 'name',
110 'conditional_logics',
111 ],
112 ],
113 'select_country' => [
114 'general' => [
115 'label',
116 'label_placement',
117 'admin_field_label',
118 'enable_select_2',
119 'placeholder',
120 'validation_rules',
121 ],
122 'advanced' => [
123 'container_class',
124 'class',
125 'country_list',
126 'help_message',
127 'name',
128 'conditional_logics',
129 ],
130 ],
131 'input_number' => [
132 'general' => [
133 'label',
134 'label_placement',
135 'admin_field_label',
136 'placeholder',
137 'validation_rules',
138 'numeric_formatter',
139 'mobile_keyboard_type_number',
140 ],
141 'advanced' => [
142 'value',
143 'container_class',
144 'class',
145 'help_message',
146 'number_step',
147 'prefix_label',
148 'suffix_label',
149 'name',
150 'conditional_logics',
151 'calculation_settings',
152 ],
153 ],
154 'select' => [
155 'general' => [
156 'label',
157 'label_placement',
158 'admin_field_label',
159 'placeholder',
160 'advanced_options',
161 'randomize_options',
162 'enable_select_2',
163 'max_selection',
164 'validation_rules',
165 ],
166 'advanced' => [
167 'dynamic_default_value',
168 'container_class',
169 'class',
170 'help_message',
171 'name',
172 'conditional_logics',
173 ],
174 ],
175 'input_radio' => [
176 'general' => [
177 'label',
178 'label_placement',
179 'admin_field_label',
180 'placeholder',
181 'advanced_options',
182 'layout_class',
183 'randomize_options',
184 'validation_rules',
185 ],
186 'advanced' => [
187 'dynamic_default_value',
188 'container_class',
189 'help_message',
190 'name',
191 'conditional_logics',
192 ],
193 ],
194 'input_checkbox' => [
195 'general' => [
196 'label',
197 'label_placement',
198 'admin_field_label',
199 'placeholder',
200 'advanced_options',
201 'layout_class',
202 'randomize_options',
203 'validation_rules',
204 ],
205 'advanced' => [
206 'dynamic_default_value',
207 'container_class',
208 'help_message',
209 'name',
210 'conditional_logics',
211 ],
212 ],
213 'input_url' => [
214 'general' => [
215 'label',
216 'label_placement',
217 'admin_field_label',
218 'placeholder',
219 'validation_rules',
220 ],
221 'advanced' => [
222 'value',
223 'container_class',
224 'class',
225 'help_message',
226 'prefix_label',
227 'suffix_label',
228 'name',
229 'conditional_logics',
230 ],
231 ],
232 'input_password' => [
233 'general' => [
234 'label',
235 'label_placement',
236 'admin_field_label',
237 'placeholder',
238 'validation_rules',
239 ],
240 'advanced' => [
241 'value',
242 'container_class',
243 'class',
244 'help_message',
245 'prefix_label',
246 'suffix_label',
247 'name',
248 'conditional_logics',
249 ],
250 ],
251 'input_date' => [
252 'general' => [
253 'label',
254 'label_placement',
255 'admin_field_label',
256 'placeholder',
257 'date_format',
258 'validation_rules',
259 ],
260 'advanced' => [
261 'value',
262 'container_class',
263 'class',
264 'help_message',
265 'name',
266 'date_config',
267 'conditional_logics',
268 ],
269 ],
270 'input_file' => [
271 'general' => [
272 'label',
273 'btn_text',
274 'upload_bttn_ui',
275 'label_placement',
276 'admin_field_label',
277 'validation_rules',
278 ],
279 'advanced' => [
280 'container_class',
281 'class',
282 'help_message',
283 'name',
284 'conditional_logics',
285 'file_location_type',
286 'upload_file_location',
287 ],
288 ],
289 'input_image' => [
290 'general' => [
291 'label',
292 'btn_text',
293 'upload_bttn_ui',
294 'label_placement',
295 'admin_field_label',
296 'validation_rules',
297 'file_location_type',
298 'upload_file_location',
299 ],
300 'advanced' => [
301 'container_class',
302 'class',
303 'help_message',
304 'name',
305 'conditional_logics',
306 ],
307 ],
308 'input_repeat' => [
309 'general' => [
310 'label',
311 'label_placement',
312 'admin_field_label',
313 'multi_column',
314 'repeat_fields',
315 ],
316 'advanced' => [
317 'container_class',
318 'name',
319 'conditional_logics',
320 'max_repeat_field',
321 ],
322 ],
323 'input_hidden' => [
324 'general' => [
325 'admin_field_label',
326 'value',
327 'name',
328 ],
329 ],
330 'section_break' => [
331 'general' => [
332 'label',
333 'description',
334 'align',
335 ],
336 'advanced' => [
337 'class',
338 'conditional_logics',
339 ],
340 ],
341 'recaptcha' => [
342 'general' => [
343 'label',
344 'label_placement',
345 'name',
346 'validation_rules',
347 ],
348 ],
349 'hcaptcha' => [
350 'general' => [
351 'label',
352 'label_placement',
353 'name',
354 'validation_rules',
355 ],
356 ],
357 'turnstile' => [
358 'general' => [
359 'label',
360 'label_placement',
361 'name',
362 'validation_rules'
363 ],
364 ],
365 'custom_html' => [
366 'general' => [
367 'html_codes',
368 'conditional_logics',
369 'container_class',
370 ],
371 ],
372 'shortcode' => [
373 'general' => [
374 'shortcode',
375 ],
376 'generalExtras' => [
377 'message' => [
378 'template' => 'infoBlock',
379 'text' => 'Hello',
380 ],
381 ],
382 'advanced' => [
383 'class',
384 'conditional_logics',
385 ],
386 ],
387 'terms_and_condition' => [
388 'general' => [
389 'admin_field_label',
390 'validation_rules',
391 'tnc_html',
392 'has_checkbox',
393 ],
394 'advanced' => [
395 'container_class',
396 'class',
397 'name',
398 'conditional_logics',
399 ],
400 ],
401 'action_hook' => [
402 'general' => [
403 'hook_name',
404 ],
405 'advanced' => [
406 'class',
407 'conditional_logics',
408 ],
409 ],
410 'form_step' => [
411 'general' => [
412 'prev_btn',
413 'next_btn',
414 'class',
415 ],
416 ],
417 'button' => [
418 'general' => [
419 'btn_text',
420 'button_ui',
421 'button_style',
422 'button_size',
423 'align',
424 ],
425 'advanced' => [
426 'container_class',
427 'class',
428 'help_message',
429 'conditional_logics',
430 ],
431 'generalExtras' => [
432 'btn_text' => [
433 'template' => 'inputText',
434 'label' => __('Button Text', 'fluentform'),
435 'help_text' => __('Form submission button text.', 'fluentform'),
436 ],
437 ],
438 ],
439 'step_start' => [
440 'general' => [
441 'class',
442 'progress_indicator',
443 'step_animation',
444 'step_titles',
445 'disable_auto_focus',
446 'enable_auto_slider',
447 'enable_step_data_persistency',
448 'enable_step_page_resume',
449 ],
450 ],
451 'step_end' => [
452 'general' => [
453 'class',
454 'prev_btn',
455 ],
456 ],
457 'ratings' => [
458 'general' => [
459 'label',
460 'label_placement',
461 'admin_field_label',
462 'options',
463 'show_text',
464 'validation_rules',
465 ],
466 'advanced' => [
467 'help_message',
468 'name',
469 'conditional_logics',
470 ],
471 ],
472 'tabular_grid' => [
473 'general' => [
474 'label',
475 'label_placement',
476 'admin_field_label',
477 'tabular_field_type',
478 'grid_columns',
479 'grid_rows',
480 'validation_rules',
481 ],
482 'advanced' => [
483 'container_class',
484 'help_message',
485 'name',
486 'conditional_logics',
487 ],
488 ],
489 'gdpr_agreement' => [
490 'general' => [
491 'admin_field_label',
492 'tnc_html',
493 'required_field_message',
494 'container_class',
495 ],
496 'advanced' => [
497 'class',
498 'name',
499 'conditional_logics',
500 ],
501 'generalExtras' => [
502 'tnc_html' => [
503 'template' => 'inputTextarea',
504 'label' => __('Description', 'fluentform'),
505 'help_text' => __('Write HTML content for GDPR agreement checkbox', 'fluentform'),
506 'rows' => 5,
507 'cols' => 3,
508 ],
509 ],
510 ],
511 'container' => [
512 'general' => [
513 'container_class',
514 'conditional_logics',
515 'container_width',
516 ],
517 'advanced' => [],
518 ],
519 ];
520