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

481 lines 11.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 * @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 ),
130 'advanced' => array(
131 'value',
132 'container_class',
133 'class',
134 'help_message',
135 'number_step',
136 'prefix_label',
137 'suffix_label',
138 'name',
139 'conditional_logics',
140 'calculation_settings'
141 ),
142 ),
143 'select' => array(
144 'general' => array(
145 'label',
146 'label_placement',
147 'admin_field_label',
148 'placeholder',
149 'advanced_options',
150 'enable_select_2',
151 'validation_rules',
152 ),
153 'advanced' => array(
154 'dynamic_default_value',
155 'container_class',
156 'class',
157 'help_message',
158 'name',
159 'conditional_logics',
160 ),
161 ),
162 'input_radio' => array(
163 'general' => array(
164 'label',
165 'label_placement',
166 'admin_field_label',
167 'placeholder',
168 'advanced_options',
169 'validation_rules',
170 ),
171 'advanced' => array(
172 'dynamic_default_value',
173 'container_class',
174 'help_message',
175 'name',
176 'layout_class',
177 'conditional_logics',
178 ),
179 ),
180 'input_checkbox' => array(
181 'general' => array(
182 'label',
183 'label_placement',
184 'admin_field_label',
185 'placeholder',
186 'advanced_options',
187 'validation_rules',
188 ),
189 'advanced' => array(
190 'dynamic_default_value',
191 'container_class',
192 'help_message',
193 'name',
194 'layout_class',
195 'conditional_logics',
196 ),
197 ),
198 'input_url' => array(
199 'general' => array(
200 'label',
201 'label_placement',
202 'admin_field_label',
203 'placeholder',
204 'validation_rules',
205 ),
206 'advanced' => array(
207 'value',
208 'container_class',
209 'class',
210 'help_message',
211 'name',
212 'conditional_logics',
213 ),
214 ),
215 'input_password' => array(
216 'general' => array(
217 'label',
218 'label_placement',
219 'admin_field_label',
220 'placeholder',
221 'validation_rules',
222 ),
223 'advanced' => array(
224 'value',
225 'container_class',
226 'class',
227 'help_message',
228 'name',
229 'conditional_logics',
230 ),
231 ),
232 'input_date' => array(
233 'general' => array(
234 'label',
235 'label_placement',
236 'admin_field_label',
237 'placeholder',
238 'date_format',
239 'validation_rules',
240 ),
241 'advanced' => array(
242 'value',
243 'container_class',
244 'class',
245 'help_message',
246 'name',
247 'date_config',
248 'conditional_logics',
249 ),
250 ),
251 'input_file' => array(
252 'general' => array(
253 'label',
254 'btn_text',
255 'label_placement',
256 'admin_field_label',
257 'validation_rules',
258 ),
259 'advanced' => array(
260 'container_class',
261 'class',
262 'help_message',
263 'name',
264 'conditional_logics',
265 ),
266 ),
267 'input_image' => array(
268 'general' => array(
269 'label',
270 'btn_text',
271 'label_placement',
272 'admin_field_label',
273 'validation_rules',
274 ),
275 'advanced' => array(
276 'container_class',
277 'class',
278 'help_message',
279 'name',
280 'conditional_logics',
281 ),
282 ),
283 'input_repeat' => array(
284 'general' => array(
285 'label',
286 'label_placement',
287 'admin_field_label',
288 'multi_column',
289 'repeat_fields',
290 ),
291 'advanced' => array(
292 'container_class',
293 'name',
294 'conditional_logics',
295 'max_repeat_field'
296 ),
297 ),
298 'input_hidden' => array(
299 'general' => array(
300 'admin_field_label',
301 'value',
302 'name',
303 ),
304 ),
305 'section_break' => array(
306 'general' => array(
307 'label',
308 'description',
309 'align',
310 ),
311 'advanced' => array(
312 'class',
313 'conditional_logics',
314 ),
315 ),
316 'recaptcha' => array(
317 'general' => array(
318 'label',
319 'label_placement',
320 'name',
321 'validation_rules',
322 ),
323 ),
324 'custom_html' => array(
325 'general' => array(
326 'html_codes',
327 'conditional_logics',
328 'container_class'
329 ),
330 ),
331 'shortcode' => array(
332 'general' => array(
333 'shortcode',
334 ),
335 'generalExtras' => array(
336 'message' => array(
337 'template' => 'infoBlock',
338 'text' => 'Hello',
339 ),
340 ),
341 'advanced' => array(
342 'class',
343 'conditional_logics',
344 ),
345 ),
346 'terms_and_condition' => array(
347 'general' => array(
348 'admin_field_label',
349 'validation_rules',
350 'tnc_html',
351 'has_checkbox',
352 ),
353 'advanced' => array(
354 'container_class',
355 'class',
356 'name',
357 'conditional_logics',
358 ),
359 ),
360 'action_hook' => array(
361 'general' => array(
362 'hook_name',
363 ),
364 'advanced' => array(
365 'class',
366 'conditional_logics',
367 ),
368 ),
369 'form_step' => array(
370 'general' => array(
371 'prev_btn',
372 'next_btn',
373 'class',
374 ),
375 ),
376 'button' => array(
377 'general' => array(
378 'btn_text',
379 'button_ui',
380 'button_style',
381 'button_size',
382 'align',
383 ),
384 'advanced' => array(
385 'container_class',
386 'class',
387 'help_message',
388 'conditional_logics',
389 ),
390 'generalExtras' => array(
391 'btn_text' => array(
392 'template' => 'inputText',
393 'label' => __('Button Text', 'fluentform'),
394 'help_text' => __('Form submission button text.', 'fluentform'),
395 )
396 )
397 ),
398 'step_start' => array(
399 'general' => array(
400 'class',
401 'progress_indicator',
402 'step_titles',
403 'disable_auto_focus',
404 'enable_auto_slider',
405 'enable_step_data_persistency',
406 'enable_step_page_resume'
407 ),
408 ),
409 'step_end' => array(
410 'general' => array(
411 'class',
412 'prev_btn',
413 ),
414 ),
415 'ratings' => array(
416 'general' => array(
417 'label',
418 'label_placement',
419 'admin_field_label',
420 'options',
421 'show_text',
422 'validation_rules'
423 ),
424 'advanced' => array(
425 'help_message',
426 'name',
427 'conditional_logics',
428 ),
429 ),
430 'tabular_grid' => array(
431 'general' => array(
432 'label',
433 'label_placement',
434 'admin_field_label',
435 'tabular_field_type',
436 'grid_columns',
437 'grid_rows',
438 'validation_rules',
439 ),
440 'advanced' => array(
441 'container_class',
442 'help_message',
443 'name',
444 'conditional_logics',
445 ),
446 ),
447 'gdpr_agreement' => array(
448 'general' => array(
449 'admin_field_label',
450 'tnc_html',
451 'required_field_message',
452 'container_class'
453 ),
454 'advanced' => array(
455 'class',
456 'name',
457 'conditional_logics',
458 ),
459 'generalExtras' => array(
460 'tnc_html' => array(
461 'template' => 'inputTextarea',
462 'label' => __('Description', 'fluentform'),
463 'help_text' => __('Write HTML content for GDPR agreement checkbox', 'fluentform'),
464 'rows' => 5,
465 'cols' => 3,
466 )
467 ),
468 ),
469 'container' => array(
470 'general' => array(
471 'container_class',
472 'conditional_logics'
473 ),
474 'advanced' => []
475 )
476 );
477
478 return apply_filters(
479 'fluent_editor_element_settings_placement', $element_settings_placement
480 );
481