PluginProbe
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder / 6.2.13
Fluent Forms – Customizable Contact Forms, Survey, Quiz, & Conversational Form Builder v6.2.13
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.13, at app/Services/FormBuilder/ElementSettingsPlacement.php

533 lines 12.5 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 is a validation rule now — listing it here too would
164 // draw the control twice.
165 'validation_rules',
166 ],
167 'advanced' => [
168 'dynamic_default_value',
169 'container_class',
170 'class',
171 'help_message',
172 'name',
173 'conditional_logics',
174 ],
175 ],
176 'input_radio' => [
177 'general' => [
178 'label',
179 'label_placement',
180 'admin_field_label',
181 'placeholder',
182 'advanced_options',
183 'layout_class',
184 'randomize_options',
185 'validation_rules',
186 ],
187 'advanced' => [
188 'dynamic_default_value',
189 'container_class',
190 'help_message',
191 'name',
192 'conditional_logics',
193 ],
194 ],
195 'input_checkbox' => [
196 'general' => [
197 'label',
198 'label_placement',
199 'admin_field_label',
200 'placeholder',
201 'advanced_options',
202 'layout_class',
203 'randomize_options',
204 'validation_rules',
205 ],
206 'advanced' => [
207 'dynamic_default_value',
208 'container_class',
209 'help_message',
210 'name',
211 'conditional_logics',
212 ],
213 ],
214 'input_url' => [
215 'general' => [
216 'label',
217 'label_placement',
218 'admin_field_label',
219 'placeholder',
220 'validation_rules',
221 ],
222 'advanced' => [
223 'value',
224 'container_class',
225 'class',
226 'help_message',
227 'prefix_label',
228 'suffix_label',
229 'name',
230 'conditional_logics',
231 ],
232 ],
233 'input_password' => [
234 'general' => [
235 'label',
236 'label_placement',
237 'admin_field_label',
238 'placeholder',
239 'validation_rules',
240 ],
241 'advanced' => [
242 'value',
243 'container_class',
244 'class',
245 'help_message',
246 'prefix_label',
247 'suffix_label',
248 'name',
249 'conditional_logics',
250 ],
251 ],
252 'input_date' => [
253 'general' => [
254 'label',
255 'label_placement',
256 'admin_field_label',
257 'placeholder',
258 'date_format',
259 'validation_rules',
260 ],
261 'advanced' => [
262 'value',
263 'container_class',
264 'class',
265 'help_message',
266 'name',
267 'date_config',
268 'conditional_logics',
269 ],
270 ],
271 'input_file' => [
272 'general' => [
273 'label',
274 'btn_text',
275 'upload_bttn_ui',
276 'label_placement',
277 'admin_field_label',
278 'validation_rules',
279 ],
280 'advanced' => [
281 'container_class',
282 'class',
283 'help_message',
284 'name',
285 'conditional_logics',
286 'file_location_type',
287 'upload_file_location',
288 ],
289 ],
290 'input_image' => [
291 'general' => [
292 'label',
293 'btn_text',
294 'upload_bttn_ui',
295 'file_location_type',
296 'upload_file_location',
297 'label_placement',
298 'admin_field_label',
299 'validation_rules',
300 'enable_crop',
301 'crop_mode',
302 'crop_ratio',
303 'crop_width',
304 'crop_height',
305 ],
306 'advanced' => [
307 'container_class',
308 'class',
309 'help_message',
310 'name',
311 'conditional_logics',
312 ],
313 ],
314 'input_repeat' => [
315 'general' => [
316 'label',
317 'label_placement',
318 'admin_field_label',
319 'multi_column',
320 'repeat_fields',
321 ],
322 'advanced' => [
323 'container_class',
324 'name',
325 'conditional_logics',
326 'max_repeat_field',
327 ],
328 ],
329 'input_hidden' => [
330 'general' => [
331 'admin_field_label',
332 'value',
333 'name',
334 ],
335 ],
336 'section_break' => [
337 'general' => [
338 'label',
339 'description',
340 'align',
341 ],
342 'advanced' => [
343 'class',
344 'conditional_logics',
345 ],
346 ],
347 'recaptcha' => [
348 'general' => [
349 'label',
350 'label_placement',
351 'name',
352 'validation_rules',
353 ],
354 ],
355 'hcaptcha' => [
356 'general' => [
357 'label',
358 'label_placement',
359 'name',
360 'validation_rules',
361 ],
362 ],
363 'turnstile' => [
364 'general' => [
365 'label',
366 'label_placement',
367 'name',
368 'validation_rules'
369 ],
370 ],
371 'custom_html' => [
372 'general' => [
373 'html_codes',
374 'conditional_logics',
375 'container_class',
376 ],
377 ],
378 'shortcode' => [
379 'general' => [
380 'shortcode',
381 ],
382 'generalExtras' => [
383 'message' => [
384 'template' => 'infoBlock',
385 'text' => 'Hello',
386 ],
387 ],
388 'advanced' => [
389 'class',
390 'conditional_logics',
391 ],
392 ],
393 'terms_and_condition' => [
394 'general' => [
395 'admin_field_label',
396 'validation_rules',
397 'tnc_html',
398 'has_checkbox',
399 ],
400 'advanced' => [
401 'container_class',
402 'class',
403 'name',
404 'conditional_logics',
405 ],
406 ],
407 'action_hook' => [
408 'general' => [
409 'hook_name',
410 ],
411 'advanced' => [
412 'class',
413 'conditional_logics',
414 ],
415 ],
416 'form_step' => [
417 'general' => [
418 'prev_btn',
419 'next_btn',
420 'class',
421 ],
422 ],
423 'button' => [
424 'general' => [
425 'btn_text',
426 'button_ui',
427 'button_style',
428 'button_size',
429 'align',
430 ],
431 'advanced' => [
432 'container_class',
433 'class',
434 'help_message',
435 'conditional_logics',
436 ],
437 'generalExtras' => [
438 'btn_text' => [
439 'template' => 'inputText',
440 'label' => __('Button Text', 'fluentform'),
441 'help_text' => __('Form submission button text.', 'fluentform'),
442 ],
443 ],
444 ],
445 'step_start' => [
446 'general' => [
447 'class',
448 'progress_indicator',
449 'progress_layout',
450 'tabs_show_progress_bar',
451 'step_animation',
452 'step_titles',
453 'disable_auto_focus',
454 'enable_auto_slider',
455 'enable_step_data_persistency',
456 'enable_step_page_resume',
457 ],
458 ],
459 'step_end' => [
460 'general' => [
461 'class',
462 'prev_btn',
463 ],
464 ],
465 'ratings' => [
466 'general' => [
467 'label',
468 'label_placement',
469 'admin_field_label',
470 'options',
471 'show_text',
472 'icon_source',
473 'icon_type',
474 'custom_icon_svg',
475 'inactive_color',
476 'active_color',
477 'validation_rules',
478 ],
479 'advanced' => [
480 'help_message',
481 'name',
482 'conditional_logics',
483 ],
484 ],
485 'tabular_grid' => [
486 'general' => [
487 'label',
488 'label_placement',
489 'admin_field_label',
490 'tabular_field_type',
491 'grid_columns',
492 'grid_rows',
493 'validation_rules',
494 ],
495 'advanced' => [
496 'container_class',
497 'help_message',
498 'name',
499 'conditional_logics',
500 ],
501 ],
502 'gdpr_agreement' => [
503 'general' => [
504 'admin_field_label',
505 'tnc_html',
506 'required_field_message',
507 'container_class',
508 ],
509 'advanced' => [
510 'class',
511 'name',
512 'conditional_logics',
513 ],
514 'generalExtras' => [
515 'tnc_html' => [
516 'template' => 'inputTextarea',
517 'label' => __('Description', 'fluentform'),
518 'help_text' => __('Write HTML content for GDPR agreement checkbox', 'fluentform'),
519 'rows' => 5,
520 'cols' => 3,
521 ],
522 ],
523 ],
524 'container' => [
525 'general' => [
526 'container_class',
527 'conditional_logics',
528 'container_width',
529 ],
530 'advanced' => [],
531 ],
532 ];
533