PluginProbe
weForms – Easy Drag & Drop Contact Form Builder For WordPress / 1.2.8
weForms – Easy Drag & Drop Contact Form Builder For WordPress v1.2.8
1.6.7 1.6.8 1.6.9 1.6.12 1.6.13 1.6.14 1.6.15 1.6.16 1.6.17 1.6.18 1.6.19 1.6.2 1.6.20 1.6.21 1.6.22 1.6.23 1.6.24 1.6.25 1.6.26 1.6.27 1.6.28 1.6.3 1.6.4 1.6.5 1.6.6 All 74 releases
weforms / includes / admin / class-pro-upgrade-fields.php

class-pro-upgrade-fields.php in weForms – Easy Drag & Drop Contact Form Builder For WordPress 1.2.8, at includes/admin/class-pro-upgrade-fields.php

170 lines 3.9 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Address Field Class
5 */
6 class WeForms_Form_Field_Address extends WeForms_Form_Field_Pro {
7
8 function __construct() {
9 $this->name = __( 'Address Field', 'weforms' );
10 $this->input_type = 'address_field';
11 $this->icon = 'address-card-o';
12 }
13 }
14
15 /**
16 * Country Field Class
17 */
18 class WeForms_Form_Field_Country extends WeForms_Form_Field_Pro {
19
20 function __construct() {
21 $this->name = __( 'Country List', 'weforms' );
22 $this->input_type = 'country_list_field';
23 $this->icon = 'globe';
24 }
25 }
26
27 /**
28 * File Field Class
29 */
30 class WeForms_Form_Field_File extends WeForms_Form_Field_Pro {
31
32 function __construct() {
33 $this->name = __( 'File Upload', 'weforms' );
34 $this->input_type = 'file_upload';
35 $this->icon = 'upload';
36 }
37 }
38
39 /**
40 * Text Field Class
41 */
42 class WeForms_Form_Field_GMap extends WeForms_Form_Field_Pro {
43
44 function __construct() {
45 $this->name = __( 'Google Map', 'weforms' );
46 $this->input_type = 'google_map';
47 $this->icon = 'map-marker';
48 }
49 }
50
51 /**
52 * Text Field Class
53 */
54 class WeForms_Form_Field_Hook extends WeForms_Form_Field_Pro {
55
56 function __construct() {
57 $this->name = __( 'Action Hook', 'weforms' );
58 $this->input_type = 'action_hook';
59 $this->icon = 'anchor';
60 }
61 }
62
63 /**
64 * Numeric Field Class
65 */
66 class WeForms_Form_Field_Numeric extends WeForms_Form_Field_Pro {
67
68 function __construct() {
69 $this->name = __( 'Numeric Field', 'weforms' );
70 $this->input_type = 'numeric_text_field';
71 $this->icon = 'hashtag';
72 }
73 }
74
75 /**
76 * Rating Field Class
77 */
78 class WeForms_Form_Field_Rating extends WeForms_Form_Field_Pro {
79
80 function __construct() {
81 $this->name = __( 'Ratings', 'weforms' );
82 $this->input_type = 'ratings';
83 $this->icon = 'star-half-o';
84 }
85 }
86
87 /**
88 * Rating Field Class
89 */
90 class WeForms_Form_Field_Linear_Scale extends WeForms_Form_Field_Pro {
91
92 function __construct() {
93 $this->name = __( 'Linear Scale', 'weforms' );
94 $this->input_type = 'linear_scale';
95 $this->icon = 'ellipsis-h';
96 }
97 }
98
99 /**
100 * Checkbox Grids Field Class
101 */
102 class WeForms_Form_Field_Checkbox_Grid extends WeForms_Form_Field_Pro {
103
104 function __construct() {
105 $this->name = __( 'Checkbox Grid', 'weforms' );
106 $this->input_type = 'checkbox_grid';
107 $this->icon = 'th';
108 }
109 }
110
111 /**
112 * Multiple Choice Grids Field Class
113 */
114 class WeForms_Form_Field_Multiple_Choice_Grid extends WeForms_Form_Field_Pro {
115
116 function __construct() {
117 $this->name = __( 'Multiple Choice Grid', 'weforms' );
118 $this->input_type = 'multiple_choice_grid';
119 $this->icon = 'braille';
120 }
121 }
122
123 /**
124 * Repeat Field Class
125 */
126 class WeForms_Form_Field_Repeat extends WeForms_Form_Field_Pro {
127
128 function __construct() {
129 $this->name = __( 'Repeat Field', 'weforms' );
130 $this->input_type = 'repeat_field';
131 $this->icon = 'text-width';
132 }
133 }
134
135 /**
136 * Shortcode Field Class
137 */
138 class WeForms_Form_Field_Shortcode extends WeForms_Form_Field_Pro {
139
140 function __construct() {
141 $this->name = __( 'Shortcode', 'weforms' );
142 $this->input_type = 'shortcode';
143 $this->icon = 'calendar-o';
144 }
145 }
146
147 /**
148 * Step Field Class
149 */
150 class WeForms_Form_Field_Step extends WeForms_Form_Field_Pro {
151
152 function __construct() {
153 $this->name = __( 'Step Start', 'weforms' );
154 $this->input_type = 'step_start';
155 $this->icon = 'step-forward';
156 }
157 }
158
159 /**
160 * TOC Field Class
161 */
162 class WeForms_Form_Field_Toc extends WeForms_Form_Field_Pro {
163
164 function __construct() {
165 $this->name = __( 'Terms & Conditions', 'weforms' );
166 $this->input_type = 'toc';
167 $this->icon = 'file-text';
168 }
169 }
170