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

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