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

532 lines 12.4 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 'file_location_type',
295 'upload_file_location',
296 'label_placement',
297 'admin_field_label',
298 'validation_rules',
299 'enable_crop',
300 'crop_mode',
301 'crop_ratio',
302 'crop_width',
303 'crop_height',
304 ],
305 'advanced' => [
306 'container_class',
307 'class',
308 'help_message',
309 'name',
310 'conditional_logics',
311 ],
312 ],
313 'input_repeat' => [
314 'general' => [
315 'label',
316 'label_placement',
317 'admin_field_label',
318 'multi_column',
319 'repeat_fields',
320 ],
321 'advanced' => [
322 'container_class',
323 'name',
324 'conditional_logics',
325 'max_repeat_field',
326 ],
327 ],
328 'input_hidden' => [
329 'general' => [
330 'admin_field_label',
331 'value',
332 'name',
333 ],
334 ],
335 'section_break' => [
336 'general' => [
337 'label',
338 'description',
339 'align',
340 ],
341 'advanced' => [
342 'class',
343 'conditional_logics',
344 ],
345 ],
346 'recaptcha' => [
347 'general' => [
348 'label',
349 'label_placement',
350 'name',
351 'validation_rules',
352 ],
353 ],
354 'hcaptcha' => [
355 'general' => [
356 'label',
357 'label_placement',
358 'name',
359 'validation_rules',
360 ],
361 ],
362 'turnstile' => [
363 'general' => [
364 'label',
365 'label_placement',
366 'name',
367 'validation_rules'
368 ],
369 ],
370 'custom_html' => [
371 'general' => [
372 'html_codes',
373 'conditional_logics',
374 'container_class',
375 ],
376 ],
377 'shortcode' => [
378 'general' => [
379 'shortcode',
380 ],
381 'generalExtras' => [
382 'message' => [
383 'template' => 'infoBlock',
384 'text' => 'Hello',
385 ],
386 ],
387 'advanced' => [
388 'class',
389 'conditional_logics',
390 ],
391 ],
392 'terms_and_condition' => [
393 'general' => [
394 'admin_field_label',
395 'validation_rules',
396 'tnc_html',
397 'has_checkbox',
398 ],
399 'advanced' => [
400 'container_class',
401 'class',
402 'name',
403 'conditional_logics',
404 ],
405 ],
406 'action_hook' => [
407 'general' => [
408 'hook_name',
409 ],
410 'advanced' => [
411 'class',
412 'conditional_logics',
413 ],
414 ],
415 'form_step' => [
416 'general' => [
417 'prev_btn',
418 'next_btn',
419 'class',
420 ],
421 ],
422 'button' => [
423 'general' => [
424 'btn_text',
425 'button_ui',
426 'button_style',
427 'button_size',
428 'align',
429 ],
430 'advanced' => [
431 'container_class',
432 'class',
433 'help_message',
434 'conditional_logics',
435 ],
436 'generalExtras' => [
437 'btn_text' => [
438 'template' => 'inputText',
439 'label' => __('Button Text', 'fluentform'),
440 'help_text' => __('Form submission button text.', 'fluentform'),
441 ],
442 ],
443 ],
444 'step_start' => [
445 'general' => [
446 'class',
447 'progress_indicator',
448 'progress_layout',
449 'tabs_show_progress_bar',
450 'step_animation',
451 'step_titles',
452 'disable_auto_focus',
453 'enable_auto_slider',
454 'enable_step_data_persistency',
455 'enable_step_page_resume',
456 ],
457 ],
458 'step_end' => [
459 'general' => [
460 'class',
461 'prev_btn',
462 ],
463 ],
464 'ratings' => [
465 'general' => [
466 'label',
467 'label_placement',
468 'admin_field_label',
469 'options',
470 'show_text',
471 'icon_source',
472 'icon_type',
473 'custom_icon_svg',
474 'inactive_color',
475 'active_color',
476 'validation_rules',
477 ],
478 'advanced' => [
479 'help_message',
480 'name',
481 'conditional_logics',
482 ],
483 ],
484 'tabular_grid' => [
485 'general' => [
486 'label',
487 'label_placement',
488 'admin_field_label',
489 'tabular_field_type',
490 'grid_columns',
491 'grid_rows',
492 'validation_rules',
493 ],
494 'advanced' => [
495 'container_class',
496 'help_message',
497 'name',
498 'conditional_logics',
499 ],
500 ],
501 'gdpr_agreement' => [
502 'general' => [
503 'admin_field_label',
504 'tnc_html',
505 'required_field_message',
506 'container_class',
507 ],
508 'advanced' => [
509 'class',
510 'name',
511 'conditional_logics',
512 ],
513 'generalExtras' => [
514 'tnc_html' => [
515 'template' => 'inputTextarea',
516 'label' => __('Description', 'fluentform'),
517 'help_text' => __('Write HTML content for GDPR agreement checkbox', 'fluentform'),
518 'rows' => 5,
519 'cols' => 3,
520 ],
521 ],
522 ],
523 'container' => [
524 'general' => [
525 'container_class',
526 'conditional_logics',
527 'container_width',
528 ],
529 'advanced' => [],
530 ],
531 ];
532