PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / 6.26
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More v6.26
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 6.26, at classes/models/fields/FrmFieldHidden.php

66 lines 1000 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if ( ! defined( 'ABSPATH' ) ) {
3 die( 'You are not allowed to call this page directly.' );
4 }
5
6 /**
7 * @since 3.0
8 */
9 class FrmFieldHidden extends FrmFieldType {
10
11 /**
12 * @var string
13 *
14 * @since 3.0
15 */
16 protected $type = 'hidden';
17
18 /**
19 * @var bool
20 *
21 * @since 3.0
22 */
23 protected $has_input = false;
24
25 /**
26 * @var bool
27 *
28 * @since 3.0
29 */
30 protected $has_html = false;
31
32 /**
33 * @var bool
34 *
35 * @since 3.0
36 */
37 protected $holds_email_values = true;
38
39 /**
40 * @var bool
41 */
42 protected $array_allowed = false;
43
44 /**
45 * @return array
46 */
47 protected function field_settings_for_type() {
48 $settings = parent::field_settings_for_type();
49 $settings['css'] = false;
50 $settings['default'] = true;
51
52 return $settings;
53 }
54
55 protected function include_form_builder_file() {
56 return FrmAppHelper::plugin_path() . '/classes/views/frm-fields/back-end/field-hidden.php';
57 }
58
59 /**
60 * @return string
61 */
62 protected function html5_input_type() {
63 return 'hidden';
64 }
65 }
66