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

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