PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 4.06.03
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v4.06.03
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
formidable / classes / models / fields / FrmFieldHidden.php

FrmFieldHidden.php in Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More 4.06.03, at classes/models/fields/FrmFieldHidden.php

48 lines 766 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * @since 3.0
5 */
6 class FrmFieldHidden extends FrmFieldType {
7
8 /**
9 * @var string
10 * @since 3.0
11 */
12 protected $type = 'hidden';
13
14 /**
15 * @var bool
16 * @since 3.0
17 */
18 protected $has_input = false;
19
20 /**
21 * @var bool
22 * @since 3.0
23 */
24 protected $has_html = false;
25
26 /**
27 * @var bool
28 * @since 3.0
29 */
30 protected $holds_email_values = true;
31
32 protected function field_settings_for_type() {
33 $settings = parent::field_settings_for_type();
34 $settings['css'] = false;
35 $settings['default'] = true;
36
37 return $settings;
38 }
39
40 protected function include_form_builder_file() {
41 return FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/field-hidden.php';
42 }
43
44 protected function html5_input_type() {
45 return 'hidden';
46 }
47 }
48