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

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