Version Description
Download this release
Release Info
Developer | webdorado |
Plugin | Form Maker by WD – user-friendly drag & drop Form Builder plugin |
Version | 1.7.10 |
Comparing to | |
See all releases |
Code changes from version 1.7.9 to 1.7.10
- admin/models/FMModelFormmakerwindow.php +1 -1
- admin/models/FMModelManage_fm.php +4 -2
- admin/models/FMModelSubmissions_fm.php +1 -1
- admin/models/FMModelUninstall_fm.php +18 -11
- css/form_maker_frontend.css +4 -0
- form-maker.php +6 -4
- form_maker_insert.php +17 -12
- frontend/models/FMModelForm_maker.php +26 -26
- js/formmaker_div_free.js +13 -14
- js/formmaker_free.js +16 -17
- readme.txt +1 -1
admin/models/FMModelFormmakerwindow.php
CHANGED
@@ -21,7 +21,7 @@ class FMModelFormmakerwindow {
|
|
21 |
|
22 |
public function get_form_data() {
|
23 |
global $wpdb;
|
24 |
-
$row = $wpdb->get_results("SELECT * FROM " . $wpdb->prefix . "formmaker order by `
|
25 |
return $row;
|
26 |
}
|
27 |
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
|
22 |
public function get_form_data() {
|
23 |
global $wpdb;
|
24 |
+
$row = $wpdb->get_results("SELECT * FROM " . $wpdb->prefix . "formmaker WHERE `id` NOT IN(" . get_option('contact_form_forms', 0) . ") order by `title`");
|
25 |
return $row;
|
26 |
}
|
27 |
////////////////////////////////////////////////////////////////////////////////////////
|
admin/models/FMModelManage_fm.php
CHANGED
@@ -20,7 +20,8 @@ class FMModelManage_fm {
|
|
20 |
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
public function get_rows_data() {
|
22 |
global $wpdb;
|
23 |
-
$where = (
|
|
|
24 |
$asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html($_POST['asc_or_desc']) : 'asc');
|
25 |
$order_by = ' ORDER BY ' . ((isset($_POST['order_by']) && esc_html($_POST['order_by']) != '') ? esc_html($_POST['order_by']) : 'id') . ' ' . $asc_or_desc;
|
26 |
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
@@ -1803,7 +1804,8 @@ class FMModelManage_fm {
|
|
1803 |
|
1804 |
public function page_nav() {
|
1805 |
global $wpdb;
|
1806 |
-
$where = (
|
|
|
1807 |
$query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "formmaker " . $where;
|
1808 |
$total = $wpdb->get_var($query);
|
1809 |
$page_nav['total'] = $total;
|
20 |
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
public function get_rows_data() {
|
22 |
global $wpdb;
|
23 |
+
$where = 'WHERE `id` NOT IN (' . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ')';
|
24 |
+
$where .= ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? ' AND title LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
|
25 |
$asc_or_desc = ((isset($_POST['asc_or_desc'])) ? esc_html($_POST['asc_or_desc']) : 'asc');
|
26 |
$order_by = ' ORDER BY ' . ((isset($_POST['order_by']) && esc_html($_POST['order_by']) != '') ? esc_html($_POST['order_by']) : 'id') . ' ' . $asc_or_desc;
|
27 |
if (isset($_POST['page_number']) && $_POST['page_number']) {
|
1804 |
|
1805 |
public function page_nav() {
|
1806 |
global $wpdb;
|
1807 |
+
$where = 'WHERE `id` NOT IN (' . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ')';
|
1808 |
+
$where .= ((isset($_POST['search_value']) && (esc_html($_POST['search_value']) != '')) ? ' AND title LIKE "%' . esc_html($_POST['search_value']) . '%"' : '');
|
1809 |
$query = "SELECT COUNT(*) FROM " . $wpdb->prefix . "formmaker " . $where;
|
1810 |
$total = $wpdb->get_var($query);
|
1811 |
$page_nav['total'] = $total;
|
admin/models/FMModelSubmissions_fm.php
CHANGED
@@ -25,7 +25,7 @@ class FMModelSubmissions_fm {
|
|
25 |
|
26 |
public function get_form_titles() {
|
27 |
global $wpdb;
|
28 |
-
$query = "SELECT id, title FROM " . $wpdb->prefix . "formmaker order by title";
|
29 |
$forms = $wpdb->get_results($query);
|
30 |
return $forms;
|
31 |
}
|
25 |
|
26 |
public function get_form_titles() {
|
27 |
global $wpdb;
|
28 |
+
$query = "SELECT id, title FROM " . $wpdb->prefix . "formmaker WHERE `id` NOT IN(" . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ") order by title";
|
29 |
$forms = $wpdb->get_results($query);
|
30 |
return $forms;
|
31 |
}
|
admin/models/FMModelUninstall_fm.php
CHANGED
@@ -20,17 +20,24 @@ class FMModelUninstall_fm {
|
|
20 |
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
public function delete_db_tables() {
|
22 |
global $wpdb;
|
23 |
-
$wpdb->
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
}
|
35 |
////////////////////////////////////////////////////////////////////////////////////////
|
36 |
// Getters & Setters //
|
20 |
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
public function delete_db_tables() {
|
22 |
global $wpdb;
|
23 |
+
$true_or_false_forms = $wpdb->get_var("SELECT COUNT(*) FROM " . $wpdb->prefix . "formmaker WHERE `id` IN (" . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ")");
|
24 |
+
if ($true_or_false_forms) {
|
25 |
+
$wpdb->query("DELETE FROM " . $wpdb->prefix . "formmaker WHERE `id` NOT IN (" . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ")");
|
26 |
+
$wpdb->query("DELETE FROM " . $wpdb->prefix . "formmaker_submits WHERE `form_id` NOT IN (" . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ")");
|
27 |
+
$wpdb->query("DELETE FROM " . $wpdb->prefix . "formmaker_views WHERE `form_id` NOT IN (" . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ")");
|
28 |
+
}
|
29 |
+
else {
|
30 |
+
$wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "formmaker");
|
31 |
+
$wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "formmaker_submits");
|
32 |
+
$wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "formmaker_views");
|
33 |
+
$wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "formmaker_themes");
|
34 |
+
$wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "formmaker_sessions");
|
35 |
+
$wpdb->query("DROP TABLE IF EXISTS " . $wpdb->prefix . "formmaker_blocked");
|
36 |
+
delete_option('contact_form_forms');
|
37 |
+
delete_option("wd_form_maker_version");
|
38 |
+
delete_option('formmaker_cureent_version');
|
39 |
+
delete_option('form_maker_pro_active');
|
40 |
+
}
|
41 |
}
|
42 |
////////////////////////////////////////////////////////////////////////////////////////
|
43 |
// Getters & Setters //
|
css/form_maker_frontend.css
CHANGED
@@ -1,3 +1,7 @@
|
|
|
|
|
|
|
|
|
|
1 |
div.wdform-element-section {
|
2 |
width: initial !important;
|
3 |
}
|
1 |
+
.wdform_row .wdform-field .wdform_map {
|
2 |
+
width: inherit !important;
|
3 |
+
}
|
4 |
+
|
5 |
div.wdform-element-section {
|
6 |
width: initial !important;
|
7 |
}
|
form-maker.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Form Maker
|
4 |
* Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
|
6 |
-
* Version: 1.7.
|
7 |
* Author: http://web-dorado.com/
|
8 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
*/
|
@@ -132,7 +132,7 @@ function Form_maker_fornt_end_main($content) {
|
|
132 |
$content = str_replace($padron, $replacment, $content);
|
133 |
}
|
134 |
}
|
135 |
-
|
136 |
$count_forms_in_post = preg_match_all($pattern, $content, $matches_form);
|
137 |
if ($count_forms_in_post) {
|
138 |
require_once (WD_FM_DIR . '/frontend/controllers/FMControllerForm_maker.php');
|
@@ -142,7 +142,7 @@ function Form_maker_fornt_end_main($content) {
|
|
142 |
$replacment = $controller->execute($matches_form[1][$jj]);
|
143 |
$content = str_replace($padron, $replacment, $content);
|
144 |
}
|
145 |
-
}
|
146 |
}
|
147 |
return $content;
|
148 |
}
|
@@ -175,7 +175,7 @@ function xapel_shortcode_1($content) {
|
|
175 |
}
|
176 |
return $content;
|
177 |
}
|
178 |
-
add_filter('the_content', 'xapel_shortcode_1', 1);
|
179 |
|
180 |
// Add the Form Maker button to editor.
|
181 |
add_action('wp_ajax_formmakerwindow', 'form_maker_ajax');
|
@@ -219,6 +219,8 @@ function form_maker_activate() {
|
|
219 |
form_maker_update($version);
|
220 |
update_option("wd_form_maker_version", $new_version);
|
221 |
}
|
|
|
|
|
222 |
}
|
223 |
register_activation_hook(__FILE__, 'form_maker_activate');
|
224 |
|
3 |
* Plugin Name: Form Maker
|
4 |
* Plugin URI: http://web-dorado.com/products/form-maker-wordpress.html
|
5 |
* Description: This plugin is a modern and advanced tool for easy and fast creating of a WordPress Form. The backend interface is intuitive and user friendly which allows users far from scripting and programming to create WordPress Forms.
|
6 |
+
* Version: 1.7.10
|
7 |
* Author: http://web-dorado.com/
|
8 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
9 |
*/
|
132 |
$content = str_replace($padron, $replacment, $content);
|
133 |
}
|
134 |
}
|
135 |
+
/*$pattern = '[\[contact_form_for_repace id="([0-9]*)"\]]';
|
136 |
$count_forms_in_post = preg_match_all($pattern, $content, $matches_form);
|
137 |
if ($count_forms_in_post) {
|
138 |
require_once (WD_FM_DIR . '/frontend/controllers/FMControllerForm_maker.php');
|
142 |
$replacment = $controller->execute($matches_form[1][$jj]);
|
143 |
$content = str_replace($padron, $replacment, $content);
|
144 |
}
|
145 |
+
}*/
|
146 |
}
|
147 |
return $content;
|
148 |
}
|
175 |
}
|
176 |
return $content;
|
177 |
}
|
178 |
+
// add_filter('the_content', 'xapel_shortcode_1', 1);
|
179 |
|
180 |
// Add the Form Maker button to editor.
|
181 |
add_action('wp_ajax_formmakerwindow', 'form_maker_ajax');
|
219 |
form_maker_update($version);
|
220 |
update_option("wd_form_maker_version", $new_version);
|
221 |
}
|
222 |
+
require_once WD_FM_DIR . "/form_maker_insert.php";
|
223 |
+
install_demo_forms();
|
224 |
}
|
225 |
register_activation_hook(__FILE__, 'form_maker_activate');
|
226 |
|
form_maker_insert.php
CHANGED
@@ -58,18 +58,7 @@ function from_maker_insert() {
|
|
58 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8;";
|
59 |
$wpdb->query($formmaker);
|
60 |
$plugin_path = WD_FM_URL;
|
61 |
-
|
62 |
-
if (!$form_maker_row) {
|
63 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(1, \'Contact\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Name:%</div><div wdid="2" class="wdform_row">%2 - E-mail:%</div><div wdid="3" class="wdform_row">%3 - Subject:%</div><div wdid="4" class="wdform_row">%4 - Message:%</div><div wdid="5" class="wdform_row">%5 - type_submit_reset_5%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 1, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 6, 1, \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#3#**id**#Subject:#**label**#type_text#****#4#**id**#Message:#**label**#type_textarea#****#5#**id**#type_submit_reset_5#**label**#type_submit_reset#****#\', \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#3#**id**#Subject:#**label**#type_text#****#4#**id**#Message:#**label**#type_textarea#****#5#**id**#type_submit_reset_5#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Name:*:*w_field_label*:*70*:*w_field_label_size*:*left*:*w_field_label_pos*:*****:*w_first_val*:*****:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*normal*:*w_name_format*:*yes*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*2*:*id*:*type_submitter_mail*:*type*:*E-mail:*:*w_field_label*:*70*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:**:*w_unique*:**:*w_class*:**:*new_field*:*3*:*id*:*type_text*:*type*:*Subject:*:*w_field_label*:*70*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*new_field*:*4*:*id*:*type_textarea*:*type*:*Message:*:*w_field_label*:*70*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*5*:*id*:*type_submit_reset*:*type*:*type_submit_reset_5*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*true*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
64 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(2, \'Fill Form To Get Admission\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Name:%</div><div wdid="2" class="wdform_row">%2 - E-mail:%</div><div wdid="4" class="wdform_row">%4 - Phone Number:%</div><div wdid="5" class="wdform_row">%5 - SELECT COLLEGE%</div><div wdid="6" class="wdform_row">%6 - OTHER SPECIFY HERE%</div><div wdid="7" class="wdform_row">%7 - Word Verification:%</div><div wdid="8" class="wdform_row">%8 - type_submit_reset_8%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 8, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 9, 1, \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Phone Number:#**label**#type_number#****#5#**id**#SELECT COLLEGE#**label**#type_own_select#****#6#**id**#OTHER SPECIFY HERE#**label**#type_text#****#7#**id**#Word Verification:#**label**#type_captcha#****#8#**id**#type_submit_reset_8#**label**#type_submit_reset#****#\', \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Phone Number:#**label**#type_number#****#5#**id**#SELECT COLLEGE#**label**#type_own_select#****#6#**id**#OTHER SPECIFY HERE#**label**#type_text#****#7#**id**#Word Verification:#**label**#type_captcha#****#8#**id**#type_submit_reset_8#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Name:*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:***********:*w_first_val*:***********:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*extended*:*w_name_format*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*2*:*id*:*type_submitter_mail*:*type*:*E-mail:*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*yes*:*w_required*:**:*w_unique*:**:*w_class*:**:*new_field*:*4*:*id*:*type_number*:*type*:*Phone Number:*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*5*:*id*:*type_own_select*:*type*:*SELECT COLLEGE*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**** GGSCMT,KHARAR*** DOABA KHARAR *** CAMBRIDGE COLLEGE FATEHGARH *** INDOGLOBAL *** QUEST COLLEGE *** UNIVERSAL ,LALRU *** OTHER PLEASE SPECIFY BELOW *:*w_choices*:*true***false***false***false***false***false***false***false*:*w_choices_checked*:*true***false***false***false***false***false***false***false*:*w_choices_disabled*:*yes*:*w_required*:*wdform_select*:*w_class*:**:*new_field*:*6*:*id*:*type_text*:*type*:*OTHER SPECIFY HERE*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*new_field*:*7*:*id*:*type_captcha*:*type*:*Word Verification:*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*6*:*w_digit*:**:*w_class*:**:*new_field*:*8*:*id*:*type_submit_reset*:*type*:*type_submit_reset_8*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*true*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
65 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(3, \'Camp Registration Form\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Camper Name:%</div><div wdid="2" class="wdform_row">%2 - Camper Age Group:%</div><div wdid="3" class="wdform_row">%3 - Desire Cabin:%</div><div wdid="4" class="wdform_row">%4 - Does any one have allergies?%</div><div wdid="5" class="wdform_row">%5 - Has the camper been camping before?%</div><div wdid="6" class="wdform_row">%6 - Any questions or concern:%</div><div wdid="7" class="wdform_row">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 15, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 8, 1, \'1#**id**#Camper Name:#**label**#type_name#****#2#**id**#Camper Age Group:#**label**#type_own_select#****#3#**id**#Desire Cabin:#**label**#type_radio#****#4#**id**#Does any one have allergies?#**label**#type_radio#****#5#**id**#Has the camper been camping before?#**label**#type_radio#****#6#**id**#Any questions or concern:#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'1#**id**#Camper Name:#**label**#type_name#****#2#**id**#Camper Age Group:#**label**#type_own_select#****#3#**id**#Desire Cabin:#**label**#type_radio#****#4#**id**#Does any one have allergies?#**label**#type_radio#****#5#**id**#Has the camper been camping before?#**label**#type_radio#****#6#**id**#Any questions or concern:#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Camper Name:*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*****:*w_first_val*:*****:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*normal*:*w_name_format*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*2*:*id*:*type_own_select*:*type*:*Camper Age Group:*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:****6-8***8-12***12-15*:*w_choices*:*true***false***false***false*:*w_choices_checked*:*true***false***false***false*:*w_choices_disabled*:*no*:*w_required*:*wdform_select*:*w_class*:**:*new_field*:*3*:*id*:*type_radio*:*type*:*Desire Cabin:*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Cabin 1***Cabin 2***Cabin 3***Cabin 4***Cabin 5***Cabin 6***Cabin 7*:*w_choices*:*false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*4*:*id*:*type_radio*:*type*:*Does any one have allergies?*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Yes***No*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*Has the camper been camping before?*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Yes***No*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*6*:*id*:*type_textarea*:*type*:*Any questions or concern:*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
66 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(4, \'Business Demographic Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column"><div wdid="2" class="wdform_row">%2 - <b>What is your employment status?</b>%</div><div wdid="3" class="wdform_row">%3 - <b>What is your level of education?</b>%</div><div wdid="4" class="wdform_row">%4 - <b>In which industry do you work?</b>%</div><div wdid="5" class="wdform_row">%5 - <b>What is the annual revenue of your company?</b>%</div><div wdid="6" class="wdform_row">%6 - Word Verification:%</div><div wdid="7" class="wdform_row">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 10, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 1, \'<p>%all%</p>\', \'<p>%all%</p>\', 8, 1, \'2#**id**#What is your employment status?#**label**#type_radio#****#3#**id**#What is your level of education?#**label**#type_radio#****#4#**id**#In which industry do you work?#**label**#type_own_select#****#5#**id**#What is the annual revenue of your company?#**label**#type_radio#****#6#**id**#Word Verification:#**label**#type_captcha#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'2#**id**#What is your employment status?#**label**#type_radio#****#3#**id**#What is your level of education?#**label**#type_radio#****#4#**id**#In which industry do you work?#**label**#type_own_select#****#5#**id**#What is the annual revenue of your company?#**label**#type_radio#****#6#**id**#Word Verification:#**label**#type_captcha#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h2 id="header_1" style="font-size: 1.285714286rem; font-family: Helvetica, Arial, sans-serif; color: rgb(68, 68, 68); clear: both; line-height: 1.6; margin: 1.714285714rem 0px;">Business Demographic Survey</h2><p style="line-height: 1.714285714; margin: 0px 0px 1.714285714rem; color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px;"></p><div id="subHeader_1" style="color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px;">Thank you for joining our business demographic survey. Please give us your feedback by filling in the information bellow.</div><p><br></p>*:*w_editor*:**:*new_field*:*2*:*id*:*type_radio*:*type*:*<b>What is your employment status?</b>*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Employed full time***Trade or Vocational degree***Not employed, but looking for work***Not employed and not looking for work***Retired***Student***Homemaker***Prefer not to answer*:*w_choices*:*false***false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*3*:*id*:*type_radio*:*type*:*<b>What is your level of education?</b>*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Some high school***High school graduate or equivalent***Trade or Vocational Degree***Some college***Associate degree***Bachelor's degree***Graduate or Professional degree***Prefer not to answer*:*w_choices*:*false***false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*4*:*id*:*type_own_select*:*type*:*<b>In which industry do you work?</b>*:*w_field_label*:*500*:*w_field_label_size*:*top*:*w_field_label_pos*:*200*:*w_size*:****option 1***option 2***option 3*:*w_choices*:*true***false***false***false*:*w_choices_checked*:*true***false***false***false*:*w_choices_disabled*:*no*:*w_required*:*wdform_select*:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*<b>What is the annual revenue of your company?</b>*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Under $10,000***$10,001 to $50,000***$50,001 to $100,000***$100,001 to $500,000***$500,001 to $1 Million***$1 Million to $10 Million***$10 Million to $50 Million***$50 Million to $100 Million***Over $100 Million*:*w_choices*:*false***false***false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*6*:*id*:*type_captcha*:*type*:*Word Verification:*:*w_field_label*:*500*:*w_field_label_size*:*top*:*w_field_label_pos*:*6*:*w_digit*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
67 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(5, \'Register Your Business\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Business Owner %</div><div wdid="2" class="wdform_row">%2 - Business Name%</div><div wdid="3" class="wdform_row">%3 - E-mail%</div><div wdid="4" class="wdform_row">%4 - Address:%</div><div wdid="10" class="wdform_row">%10 - Type of Business%</div><div wdid="11" class="wdform_row">%11 - Message%</div><div wdid="12" class="wdform_row">%12 - type_submit_reset_12%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 26, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 13, 1, \'1#**id**#Business Owner #**label**#type_name#****#2#**id**#Business Name#**label**#type_text#****#3#**id**#E-mail#**label**#type_submitter_mail#****#4#**id**#Street Address#**label**#type_address#****#5#**id**#Street Address Line 2#**label**#type_address#****#6#**id**#City#**label**#type_address#****#7#**id**#State / Province / Region#**label**#type_address#****#8#**id**#Postal / Zip Code#**label**#type_address#****#9#**id**#Country#**label**#type_address#****#10#**id**#Type of Business#**label**#type_own_select#****#11#**id**#Message#**label**#type_textarea#****#12#**id**#type_submit_reset_12#**label**#type_submit_reset#****#\', \'1#**id**#Business Owner #**label**#type_name#****#2#**id**#Business Name#**label**#type_text#****#3#**id**#E-mail#**label**#type_submitter_mail#****#4#**id**#Street Address#**label**#type_address#****#5#**id**#Street Address Line 2#**label**#type_address#****#6#**id**#City#**label**#type_address#****#7#**id**#State / Province / Region#**label**#type_address#****#8#**id**#Postal / Zip Code#**label**#type_address#****#9#**id**#Country#**label**#type_address#****#10#**id**#Type of Business#**label**#type_own_select#****#11#**id**#Message#**label**#type_textarea#****#12#**id**#type_submit_reset_12#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Business Owner *:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*****:*w_first_val*:*****:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*normal*:*w_name_format*:*yes*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*2*:*id*:*type_text*:*type*:*Business Name*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*yes*:*w_required*:*no*:*w_unique*:**:*new_field*:*3*:*id*:*type_submitter_mail*:*type*:*E-mail*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*yes*:*w_required*:**:*w_unique*:**:*w_class*:**:*new_field*:*4*:*id*:*type_address*:*type*:*Address:*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*300*:*w_size*:*Street Address***Street Address Line 2***City***State / Province / Region***Postal / Zip Code***Country*:*w_mini_labels*:*no***no***no***no***no***no*:*w_disabled_fields*:*no*:*w_required*:*wdform_address*:*w_class*:**:*new_field*:*10*:*id*:*type_own_select*:*type*:*Type of Business*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:*Select value***option 1***option 2*:*w_choices*:*true***false***false*:*w_choices_checked*:*true***false***false*:*w_choices_disabled*:*yes*:*w_required*:*wdform_select*:*w_class*:**:*new_field*:*11*:*id*:*type_textarea*:*type*:*Message*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*12*:*id*:*type_submit_reset*:*type*:*type_submit_reset_12*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
68 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(6, \'Cupcake Order Form\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Date%</div><div wdid="2" class="wdform_row">%2 - Name%</div><div wdid="3" class="wdform_row">%3 - E-mail:%</div><div wdid="4" class="wdform_row">%4 - <b>Cupcakes <br> Flavors (1 doz. minimum)</b>%</div><div wdid="5" class="wdform_row">%5 - Quantity%</div><div wdid="6" class="wdform_row">%6 - Details (if any)%</div><div wdid="7" class="wdform_row">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 6, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 8, 1, \'1#**id**#Date#**label**#type_date#****#2#**id**#Name#**label**#type_name#****#3#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Cupcakes Flavors (1 doz. minimum)#**label**#type_checkbox#****#5#**id**#Quantity#**label**#type_own_select#****#6#**id**#Details (if any)#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'1#**id**#Date#**label**#type_date#****#2#**id**#Name#**label**#type_name#****#3#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Cupcakes Flavors (1 doz. minimum)#**label**#type_checkbox#****#5#**id**#Quantity#**label**#type_own_select#****#6#**id**#Details (if any)#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_date*:*type*:*Date*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:**:*w_date*:*yes*:*w_required*:**:*w_class*:*%Y-%m-%d*:*w_format*:*...*:*w_but_val*:**:*new_field*:*2*:*id*:*type_name*:*type*:*Name*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*****:*w_first_val*:*****:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*normal*:*w_name_format*:*yes*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*3*:*id*:*type_submitter_mail*:*type*:*E-mail:*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*yes*:*w_required*:**:*w_unique*:**:*w_class*:**:*new_field*:*4*:*id*:*type_checkbox*:*type*:*<b>Cupcakes <br> Flavors (1 doz. minimum)</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Red Velvet ($150.00 TTD)***Vanilla ($100.00 TTD)***Chocolate ($120.00 TTD)***Guinness ($150.00 TTD)***Coconut ($120.00 TTD)***Lemon ($100.00 TTD)***Chocolate Mint ($120.00 TTD)*:*w_choices*:*false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*5*:*id*:*type_own_select*:*type*:*Quantity*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*50*:*w_size*:****1***2***3***4***5***6***7***8***9***10*:*w_choices*:*true***false***false***false***false***false***false***false***false***false***false*:*w_choices_checked*:*true***false***false***false***false***false***false***false***false***false***false*:*w_choices_disabled*:*no*:*w_required*:*wdform_select*:*w_class*:**:*new_field*:*6*:*id*:*type_textarea*:*type*:*Details (if any)*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
69 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(7, \'Seminar Evaluation Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column"><div wdid="2" class="wdform_row">%2 - <b>Company</b>%</div><div wdid="3" class="wdform_row">%3 - <b>Occupation</b>%</div><div wdid="4" class="wdform_row">%4 - <b>Was it worth its money?</b>%</div><div wdid="5" class="wdform_row">%5 - <b>On average how would you rate the seminar?</b>%</div><div wdid="6" class="wdform_row">%6 - type_submit_reset_6%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 16, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 7, 1, \'2#**id**#Company#**label**#type_text#****#3#**id**#Occupation#**label**#type_text#****#4#**id**#Was it worth its money?#**label**#type_radio#****#5#**id**#On average how would you rate the seminar?#**label**#type_radio#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', \'2#**id**#Company#**label**#type_text#****#3#**id**#Occupation#**label**#type_text#****#4#**id**#Was it worth its money?#**label**#type_radio#****#5#**id**#On average how would you rate the seminar?#**label**#type_radio#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h1 id="header_1" style="font-size: 1.5rem; font-family: Helvetica, Arial, sans-serif; color: rgb(68, 68, 68); clear: both; line-height: 1.5; margin: 1.714285714rem 0px;">Seminar Evaluation Survey</h1><div id="subHeader_1" style="color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px;">Please take a few minutes to complete this evaluation survey</div>*:*w_editor*:**:*new_field*:*2*:*id*:*type_text*:*type*:*<b>Company</b>*:*w_field_label*:*150*:*w_field_label_size*:*top*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*new_field*:*3*:*id*:*type_text*:*type*:*<b>Occupation</b>*:*w_field_label*:*150*:*w_field_label_size*:*top*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*new_field*:*4*:*id*:*type_radio*:*type*:*<b>Was it worth its money?</b>*:*w_field_label*:*200*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Yes***No*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*<b>On average how would you rate the seminar?</b>*:*w_field_label*:*400*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Very good***Good***Neutral***Bad***Very bad*:*w_choices*:*false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*6*:*id*:*type_submit_reset*:*type*:*type_submit_reset_6*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
70 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(8, \'Restaurant Evaluation Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column"><div wdid="2" class="wdform_row">%2 - Day Visited:%</div><div wdid="3" class="wdform_row">%3 - <b>Dine In / Take Out:</b>%</div><div wdid="4" class="wdform_row">%4 - <b>Food Quality:</b>%</div><div wdid="5" class="wdform_row">%5 - <b>Speed of Service:</b>%</div><div wdid="6" class="wdform_row">%6 - <b>Any comments, questions or suggestions?</b>%</div><div wdid="7" class="wdform_row">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 21, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 8, 1, \'2#**id**#Day Visited:#**label**#type_date#****#3#**id**#Dine In / Take Out:#**label**#type_radio#****#4#**id**#Food Quality:#**label**#type_radio#****#5#**id**#Speed of Service:#**label**#type_radio#****#6#**id**#Any comments, questions or suggestions?#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'2#**id**#Day Visited:#**label**#type_date#****#3#**id**#Dine In / Take Out:#**label**#type_radio#****#4#**id**#Food Quality:#**label**#type_radio#****#5#**id**#Speed of Service:#**label**#type_radio#****#6#**id**#Any comments, questions or suggestions?#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h2 id="header_21" style="font-size: 1.285714286rem; font-family: Helvetica, Arial, sans-serif; color: rgb(68, 68, 68); clear: both; line-height: 1.6; margin: 1.714285714rem 0px;">Restaurant Evaluation Survey</h2><div id="subHeader_21" style="color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px;">Please let us know how was the food and service.</div><p><br></p>*:*w_editor*:**:*new_field*:*2*:*id*:*type_date*:*type*:*Day Visited:*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:**:*w_date*:*no*:*w_required*:**:*w_class*:*%Y-%m-%d*:*w_format*:*...*:*w_but_val*:**:*new_field*:*3*:*id*:*type_radio*:*type*:*<b>Dine In / Take Out:</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Dine In***Dine Out*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*4*:*id*:*type_radio*:*type*:*<b>Food Quality:</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Excellent***Good***Average***Dissatisfied*:*w_choices*:*false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*<b>Speed of Service:</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Excellent***Good***Average***Dissatisfied*:*w_choices*:*false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*6*:*id*:*type_textarea*:*type*:*<b>Any comments, questions or suggestions?</b>*:*w_field_label*:*300*:*w_field_label_size*:*top*:*w_field_label_pos*:*300*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
71 |
-
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(9, \'Product Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column"><div wdid="2" class="wdform_row">%2 - 1. Please indicate if you agree or disagree with the following statements%</div><div wdid="3" class="wdform_row">%3 - 2. How likely are you to recommend [Product/Service] to a friend or co-worker?%</div><div wdid="4" class="wdform_row">%4 - 3. What is the amount you would ever pay for a product like ours%</div><div wdid="5" class="wdform_row">%5 - 4. Please rate the product %</div><div wdid="6" class="wdform_row">%6 - type_submit_reset_6%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 29, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 7, 1, \'2#**id**#1. Please indicate if you agree or disagree with the following statements#**label**#type_matrix#****#3#**id**#2. How likely are you to recommend [Product/Service] to a friend or co-worker?#**label**#type_scale_rating#****#4#**id**#3. What is the amount you would ever pay for a product like ours#**label**#type_range#****#5#**id**#4. Please rate the product #**label**#type_star_rating#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', \'2#**id**#1. Please indicate if you agree or disagree with the following statements#**label**#type_matrix#****#3#**id**#2. How likely are you to recommend [Product/Service] to a friend or co-worker?#**label**#type_scale_rating#****#4#**id**#3. What is the amount you would ever pay for a product like ours#**label**#type_range#****#5#**id**#4. Please rate the product #**label**#type_star_rating#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h1 class="sg-title" data-mce-style="font-size: 2.2em; color: #fff; font-weight: normal; line-height: normal;" style="font-size: 2.2em; font-weight: normal; color: rgb(255, 255, 255); line-height: normal;">Product Survey</h1>*:*w_editor*:**:*new_field*:*2*:*id*:*type_matrix*:*type*:*1. Please indicate if you agree or disagree with the following statements*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*radio*:*w_field_input_type*:****Product is affordable***Product is valuable***Product is better<br> than other products on<br> the market***Product is easy to use*:*w_rows*:****Strongly Disagree***Disagree***Neutral***Agree***Strongly Agree*:*w_columns*:*no*:*w_required*:*wdform_matrix*:*w_class*:**:*new_field*:*3*:*id*:*type_scale_rating*:*type*:*2. How likely are you to recommend [Product/Service] to a friend or co-worker?*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*Will not recommend *** I will recommend*:*w_mini_labels*:*5*:*w_scale_amount*:*no*:*w_required*:*wdform_scale_rating*:*w_class*:**:*new_field*:*4*:*id*:*type_range*:*type*:*3. What is the amount you would ever pay for a product like ours*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*40*:*w_field_range_width*:*1*:*w_field_range_step*:*null*:*w_field_value1*:*null*:*w_field_value2*:*From***To*:*w_mini_labels*:*no*:*w_required*:**:*w_class*:**:*new_field*:*5*:*id*:*type_star_rating*:*type*:*4. Please rate the product *:*w_field_label*:*150*:*w_field_label_size*:*top*:*w_field_label_pos*:*yellow*:*w_field_label_col*:*10*:*w_star_amount*:*no*:*w_required*:*wdform_star_rating*:*w_class*:**:*new_field*:*6*:*id*:*type_submit_reset*:*type*:*type_submit_reset_6*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*true*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
72 |
-
}
|
73 |
$formmaker_submits = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_submits` (
|
74 |
`id` int(11) NOT NULL AUTO_INCREMENT,
|
75 |
`form_id` int(11) NOT NULL,
|
@@ -176,4 +165,20 @@ function from_maker_insert() {
|
|
176 |
return;
|
177 |
}
|
178 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
179 |
?>
|
58 |
) ENGINE=MyISAM DEFAULT CHARSET=utf8;";
|
59 |
$wpdb->query($formmaker);
|
60 |
$plugin_path = WD_FM_URL;
|
61 |
+
install_demo_forms();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
62 |
$formmaker_submits = "CREATE TABLE IF NOT EXISTS `" . $wpdb->prefix . "formmaker_submits` (
|
63 |
`id` int(11) NOT NULL AUTO_INCREMENT,
|
64 |
`form_id` int(11) NOT NULL,
|
165 |
return;
|
166 |
}
|
167 |
|
168 |
+
function install_demo_forms() {
|
169 |
+
global $wpdb;
|
170 |
+
$form_maker_row = $wpdb->get_var("SELECT * FROM " . $wpdb->prefix . "formmaker WHERE `id` NOT IN (" . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ")");
|
171 |
+
if (!$form_maker_row) {
|
172 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Contact\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Name:%</div><div wdid="2" class="wdform_row">%2 - E-mail:%</div><div wdid="3" class="wdform_row">%3 - Subject:%</div><div wdid="4" class="wdform_row">%4 - Message:%</div><div wdid="5" class="wdform_row">%5 - type_submit_reset_5%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 1, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 6, 1, \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#3#**id**#Subject:#**label**#type_text#****#4#**id**#Message:#**label**#type_textarea#****#5#**id**#type_submit_reset_5#**label**#type_submit_reset#****#\', \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#3#**id**#Subject:#**label**#type_text#****#4#**id**#Message:#**label**#type_textarea#****#5#**id**#type_submit_reset_5#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Name:*:*w_field_label*:*70*:*w_field_label_size*:*left*:*w_field_label_pos*:*****:*w_first_val*:*****:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*normal*:*w_name_format*:*yes*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*2*:*id*:*type_submitter_mail*:*type*:*E-mail:*:*w_field_label*:*70*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:**:*w_unique*:**:*w_class*:**:*new_field*:*3*:*id*:*type_text*:*type*:*Subject:*:*w_field_label*:*70*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*new_field*:*4*:*id*:*type_textarea*:*type*:*Message:*:*w_field_label*:*70*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*5*:*id*:*type_submit_reset*:*type*:*type_submit_reset_5*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*true*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
173 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Fill Form To Get Admission\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Name:%</div><div wdid="2" class="wdform_row">%2 - E-mail:%</div><div wdid="4" class="wdform_row">%4 - Phone Number:%</div><div wdid="5" class="wdform_row">%5 - SELECT COLLEGE%</div><div wdid="6" class="wdform_row">%6 - OTHER SPECIFY HERE%</div><div wdid="7" class="wdform_row">%7 - Word Verification:%</div><div wdid="8" class="wdform_row">%8 - type_submit_reset_8%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 8, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 9, 1, \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Phone Number:#**label**#type_number#****#5#**id**#SELECT COLLEGE#**label**#type_own_select#****#6#**id**#OTHER SPECIFY HERE#**label**#type_text#****#7#**id**#Word Verification:#**label**#type_captcha#****#8#**id**#type_submit_reset_8#**label**#type_submit_reset#****#\', \'1#**id**#Name:#**label**#type_name#****#2#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Phone Number:#**label**#type_number#****#5#**id**#SELECT COLLEGE#**label**#type_own_select#****#6#**id**#OTHER SPECIFY HERE#**label**#type_text#****#7#**id**#Word Verification:#**label**#type_captcha#****#8#**id**#type_submit_reset_8#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Name:*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:***********:*w_first_val*:***********:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*extended*:*w_name_format*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*2*:*id*:*type_submitter_mail*:*type*:*E-mail:*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*yes*:*w_required*:**:*w_unique*:**:*w_class*:**:*new_field*:*4*:*id*:*type_number*:*type*:*Phone Number:*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*5*:*id*:*type_own_select*:*type*:*SELECT COLLEGE*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**** GGSCMT,KHARAR*** DOABA KHARAR *** CAMBRIDGE COLLEGE FATEHGARH *** INDOGLOBAL *** QUEST COLLEGE *** UNIVERSAL ,LALRU *** OTHER PLEASE SPECIFY BELOW *:*w_choices*:*true***false***false***false***false***false***false***false*:*w_choices_checked*:*true***false***false***false***false***false***false***false*:*w_choices_disabled*:*yes*:*w_required*:*wdform_select*:*w_class*:**:*new_field*:*6*:*id*:*type_text*:*type*:*OTHER SPECIFY HERE*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*new_field*:*7*:*id*:*type_captcha*:*type*:*Word Verification:*:*w_field_label*:*160*:*w_field_label_size*:*left*:*w_field_label_pos*:*6*:*w_digit*:**:*w_class*:**:*new_field*:*8*:*id*:*type_submit_reset*:*type*:*type_submit_reset_8*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*true*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
174 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Camp Registration Form\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Camper Name:%</div><div wdid="2" class="wdform_row">%2 - Camper Age Group:%</div><div wdid="3" class="wdform_row">%3 - Desire Cabin:%</div><div wdid="4" class="wdform_row">%4 - Does any one have allergies?%</div><div wdid="5" class="wdform_row">%5 - Has the camper been camping before?%</div><div wdid="6" class="wdform_row">%6 - Any questions or concern:%</div><div wdid="7" class="wdform_row">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 15, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 8, 1, \'1#**id**#Camper Name:#**label**#type_name#****#2#**id**#Camper Age Group:#**label**#type_own_select#****#3#**id**#Desire Cabin:#**label**#type_radio#****#4#**id**#Does any one have allergies?#**label**#type_radio#****#5#**id**#Has the camper been camping before?#**label**#type_radio#****#6#**id**#Any questions or concern:#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'1#**id**#Camper Name:#**label**#type_name#****#2#**id**#Camper Age Group:#**label**#type_own_select#****#3#**id**#Desire Cabin:#**label**#type_radio#****#4#**id**#Does any one have allergies?#**label**#type_radio#****#5#**id**#Has the camper been camping before?#**label**#type_radio#****#6#**id**#Any questions or concern:#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Camper Name:*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*****:*w_first_val*:*****:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*normal*:*w_name_format*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*2*:*id*:*type_own_select*:*type*:*Camper Age Group:*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:****6-8***8-12***12-15*:*w_choices*:*true***false***false***false*:*w_choices_checked*:*true***false***false***false*:*w_choices_disabled*:*no*:*w_required*:*wdform_select*:*w_class*:**:*new_field*:*3*:*id*:*type_radio*:*type*:*Desire Cabin:*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Cabin 1***Cabin 2***Cabin 3***Cabin 4***Cabin 5***Cabin 6***Cabin 7*:*w_choices*:*false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*4*:*id*:*type_radio*:*type*:*Does any one have allergies?*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Yes***No*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*Has the camper been camping before?*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Yes***No*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*6*:*id*:*type_textarea*:*type*:*Any questions or concern:*:*w_field_label*:*250*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
175 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Business Demographic Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column"><div wdid="2" class="wdform_row">%2 - <b>What is your employment status?</b>%</div><div wdid="3" class="wdform_row">%3 - <b>What is your level of education?</b>%</div><div wdid="4" class="wdform_row">%4 - <b>In which industry do you work?</b>%</div><div wdid="5" class="wdform_row">%5 - <b>What is the annual revenue of your company?</b>%</div><div wdid="6" class="wdform_row">%6 - Word Verification:%</div><div wdid="7" class="wdform_row">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 10, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 1, \'<p>%all%</p>\', \'<p>%all%</p>\', 8, 1, \'2#**id**#What is your employment status?#**label**#type_radio#****#3#**id**#What is your level of education?#**label**#type_radio#****#4#**id**#In which industry do you work?#**label**#type_own_select#****#5#**id**#What is the annual revenue of your company?#**label**#type_radio#****#6#**id**#Word Verification:#**label**#type_captcha#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'2#**id**#What is your employment status?#**label**#type_radio#****#3#**id**#What is your level of education?#**label**#type_radio#****#4#**id**#In which industry do you work?#**label**#type_own_select#****#5#**id**#What is the annual revenue of your company?#**label**#type_radio#****#6#**id**#Word Verification:#**label**#type_captcha#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h2 id="header_1" style="font-size: 1.285714286rem; font-family: Helvetica, Arial, sans-serif; color: rgb(68, 68, 68); clear: both; line-height: 1.6; margin: 1.714285714rem 0px;">Business Demographic Survey</h2><p style="line-height: 1.714285714; margin: 0px 0px 1.714285714rem; color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px;"></p><div id="subHeader_1" style="color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px;">Thank you for joining our business demographic survey. Please give us your feedback by filling in the information bellow.</div><p><br></p>*:*w_editor*:**:*new_field*:*2*:*id*:*type_radio*:*type*:*<b>What is your employment status?</b>*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Employed full time***Trade or Vocational degree***Not employed, but looking for work***Not employed and not looking for work***Retired***Student***Homemaker***Prefer not to answer*:*w_choices*:*false***false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*3*:*id*:*type_radio*:*type*:*<b>What is your level of education?</b>*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Some high school***High school graduate or equivalent***Trade or Vocational Degree***Some college***Associate degree***Bachelor's degree***Graduate or Professional degree***Prefer not to answer*:*w_choices*:*false***false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*4*:*id*:*type_own_select*:*type*:*<b>In which industry do you work?</b>*:*w_field_label*:*500*:*w_field_label_size*:*top*:*w_field_label_pos*:*200*:*w_size*:****option 1***option 2***option 3*:*w_choices*:*true***false***false***false*:*w_choices_checked*:*true***false***false***false*:*w_choices_disabled*:*no*:*w_required*:*wdform_select*:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*<b>What is the annual revenue of your company?</b>*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Under $10,000***$10,001 to $50,000***$50,001 to $100,000***$100,001 to $500,000***$500,001 to $1 Million***$1 Million to $10 Million***$10 Million to $50 Million***$50 Million to $100 Million***Over $100 Million*:*w_choices*:*false***false***false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*6*:*id*:*type_captcha*:*type*:*Word Verification:*:*w_field_label*:*500*:*w_field_label_size*:*top*:*w_field_label_pos*:*6*:*w_digit*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
176 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Register Your Business\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Business Owner %</div><div wdid="2" class="wdform_row">%2 - Business Name%</div><div wdid="3" class="wdform_row">%3 - E-mail%</div><div wdid="4" class="wdform_row">%4 - Address:%</div><div wdid="10" class="wdform_row">%10 - Type of Business%</div><div wdid="11" class="wdform_row">%11 - Message%</div><div wdid="12" class="wdform_row">%12 - type_submit_reset_12%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 26, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 13, 1, \'1#**id**#Business Owner #**label**#type_name#****#2#**id**#Business Name#**label**#type_text#****#3#**id**#E-mail#**label**#type_submitter_mail#****#4#**id**#Street Address#**label**#type_address#****#5#**id**#Street Address Line 2#**label**#type_address#****#6#**id**#City#**label**#type_address#****#7#**id**#State / Province / Region#**label**#type_address#****#8#**id**#Postal / Zip Code#**label**#type_address#****#9#**id**#Country#**label**#type_address#****#10#**id**#Type of Business#**label**#type_own_select#****#11#**id**#Message#**label**#type_textarea#****#12#**id**#type_submit_reset_12#**label**#type_submit_reset#****#\', \'1#**id**#Business Owner #**label**#type_name#****#2#**id**#Business Name#**label**#type_text#****#3#**id**#E-mail#**label**#type_submitter_mail#****#4#**id**#Street Address#**label**#type_address#****#5#**id**#Street Address Line 2#**label**#type_address#****#6#**id**#City#**label**#type_address#****#7#**id**#State / Province / Region#**label**#type_address#****#8#**id**#Postal / Zip Code#**label**#type_address#****#9#**id**#Country#**label**#type_address#****#10#**id**#Type of Business#**label**#type_own_select#****#11#**id**#Message#**label**#type_textarea#****#12#**id**#type_submit_reset_12#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_name*:*type*:*Business Owner *:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*****:*w_first_val*:*****:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*normal*:*w_name_format*:*yes*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*2*:*id*:*type_text*:*type*:*Business Name*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*yes*:*w_required*:*no*:*w_unique*:**:*new_field*:*3*:*id*:*type_submitter_mail*:*type*:*E-mail*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*yes*:*w_required*:**:*w_unique*:**:*w_class*:**:*new_field*:*4*:*id*:*type_address*:*type*:*Address:*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*300*:*w_size*:*Street Address***Street Address Line 2***City***State / Province / Region***Postal / Zip Code***Country*:*w_mini_labels*:*no***no***no***no***no***no*:*w_disabled_fields*:*no*:*w_required*:*wdform_address*:*w_class*:**:*new_field*:*10*:*id*:*type_own_select*:*type*:*Type of Business*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:*Select value***option 1***option 2*:*w_choices*:*true***false***false*:*w_choices_checked*:*true***false***false*:*w_choices_disabled*:*yes*:*w_required*:*wdform_select*:*w_class*:**:*new_field*:*11*:*id*:*type_textarea*:*type*:*Message*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*12*:*id*:*type_submit_reset*:*type*:*type_submit_reset_12*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
177 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Cupcake Order Form\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"><div wdid="1" class="wdform_row">%1 - Date%</div><div wdid="2" class="wdform_row">%2 - Name%</div><div wdid="3" class="wdform_row">%3 - E-mail:%</div><div wdid="4" class="wdform_row">%4 - <b>Cupcakes <br> Flavors (1 doz. minimum)</b>%</div><div wdid="5" class="wdform_row">%5 - Quantity%</div><div wdid="6" class="wdform_row">%6 - Details (if any)%</div><div wdid="7" class="wdform_row">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 6, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 8, 1, \'1#**id**#Date#**label**#type_date#****#2#**id**#Name#**label**#type_name#****#3#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Cupcakes Flavors (1 doz. minimum)#**label**#type_checkbox#****#5#**id**#Quantity#**label**#type_own_select#****#6#**id**#Details (if any)#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'1#**id**#Date#**label**#type_date#****#2#**id**#Name#**label**#type_name#****#3#**id**#E-mail:#**label**#type_submitter_mail#****#4#**id**#Cupcakes Flavors (1 doz. minimum)#**label**#type_checkbox#****#5#**id**#Quantity#**label**#type_own_select#****#6#**id**#Details (if any)#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_date*:*type*:*Date*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:**:*w_date*:*yes*:*w_required*:**:*w_class*:*%Y-%m-%d*:*w_format*:*...*:*w_but_val*:**:*new_field*:*2*:*id*:*type_name*:*type*:*Name*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*****:*w_first_val*:*****:*w_title*:*Title***First***Last***Middle*:*w_mini_labels*:*100*:*w_size*:*normal*:*w_name_format*:*yes*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*3*:*id*:*type_submitter_mail*:*type*:*E-mail:*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*yes*:*w_required*:**:*w_unique*:**:*w_class*:**:*new_field*:*4*:*id*:*type_checkbox*:*type*:*<b>Cupcakes <br> Flavors (1 doz. minimum)</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Red Velvet ($150.00 TTD)***Vanilla ($100.00 TTD)***Chocolate ($120.00 TTD)***Guinness ($150.00 TTD)***Coconut ($120.00 TTD)***Lemon ($100.00 TTD)***Chocolate Mint ($120.00 TTD)*:*w_choices*:*false***false***false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*5*:*id*:*type_own_select*:*type*:*Quantity*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*50*:*w_size*:****1***2***3***4***5***6***7***8***9***10*:*w_choices*:*true***false***false***false***false***false***false***false***false***false***false*:*w_choices_checked*:*true***false***false***false***false***false***false***false***false***false***false*:*w_choices_disabled*:*no*:*w_required*:*wdform_select*:*w_class*:**:*new_field*:*6*:*id*:*type_textarea*:*type*:*Details (if any)*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*200*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
178 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Seminar Evaluation Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column"><div wdid="2" class="wdform_row">%2 - <b>Company</b>%</div><div wdid="3" class="wdform_row">%3 - <b>Occupation</b>%</div><div wdid="4" class="wdform_row">%4 - <b>Was it worth its money?</b>%</div><div wdid="5" class="wdform_row">%5 - <b>On average how would you rate the seminar?</b>%</div><div wdid="6" class="wdform_row">%6 - type_submit_reset_6%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 16, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 7, 1, \'2#**id**#Company#**label**#type_text#****#3#**id**#Occupation#**label**#type_text#****#4#**id**#Was it worth its money?#**label**#type_radio#****#5#**id**#On average how would you rate the seminar?#**label**#type_radio#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', \'2#**id**#Company#**label**#type_text#****#3#**id**#Occupation#**label**#type_text#****#4#**id**#Was it worth its money?#**label**#type_radio#****#5#**id**#On average how would you rate the seminar?#**label**#type_radio#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h1 id="header_1" style="font-size: 1.5rem; font-family: Helvetica, Arial, sans-serif; color: rgb(68, 68, 68); clear: both; line-height: 1.5; margin: 1.714285714rem 0px;">Seminar Evaluation Survey</h1><div id="subHeader_1" style="color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px;">Please take a few minutes to complete this evaluation survey</div>*:*w_editor*:**:*new_field*:*2*:*id*:*type_text*:*type*:*<b>Company</b>*:*w_field_label*:*150*:*w_field_label_size*:*top*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*new_field*:*3*:*id*:*type_text*:*type*:*<b>Occupation</b>*:*w_field_label*:*150*:*w_field_label_size*:*top*:*w_field_label_pos*:*200*:*w_size*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*new_field*:*4*:*id*:*type_radio*:*type*:*<b>Was it worth its money?</b>*:*w_field_label*:*200*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Yes***No*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*<b>On average how would you rate the seminar?</b>*:*w_field_label*:*400*:*w_field_label_size*:*top*:*w_field_label_pos*:*ver*:*w_flow*:*Very good***Good***Neutral***Bad***Very bad*:*w_choices*:*false***false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*6*:*id*:*type_submit_reset*:*type*:*type_submit_reset_6*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
179 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Restaurant Evaluation Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column"><div wdid="2" class="wdform_row">%2 - Day Visited:%</div><div wdid="3" class="wdform_row">%3 - <b>Dine In / Take Out:</b>%</div><div wdid="4" class="wdform_row">%4 - <b>Food Quality:</b>%</div><div wdid="5" class="wdform_row">%5 - <b>Speed of Service:</b>%</div><div wdid="6" class="wdform_row">%6 - <b>Any comments, questions or suggestions?</b>%</div><div wdid="7" class="wdform_row">%7 - type_submit_reset_7%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 21, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 8, 1, \'2#**id**#Day Visited:#**label**#type_date#****#3#**id**#Dine In / Take Out:#**label**#type_radio#****#4#**id**#Food Quality:#**label**#type_radio#****#5#**id**#Speed of Service:#**label**#type_radio#****#6#**id**#Any comments, questions or suggestions?#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', \'2#**id**#Day Visited:#**label**#type_date#****#3#**id**#Dine In / Take Out:#**label**#type_radio#****#4#**id**#Food Quality:#**label**#type_radio#****#5#**id**#Speed of Service:#**label**#type_radio#****#6#**id**#Any comments, questions or suggestions?#**label**#type_textarea#****#7#**id**#type_submit_reset_7#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h2 id="header_21" style="font-size: 1.285714286rem; font-family: Helvetica, Arial, sans-serif; color: rgb(68, 68, 68); clear: both; line-height: 1.6; margin: 1.714285714rem 0px;">Restaurant Evaluation Survey</h2><div id="subHeader_21" style="color: rgb(68, 68, 68); font-family: Helvetica, Arial, sans-serif; font-size: 14px; line-height: 14px;">Please let us know how was the food and service.</div><p><br></p>*:*w_editor*:**:*new_field*:*2*:*id*:*type_date*:*type*:*Day Visited:*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:**:*w_date*:*no*:*w_required*:**:*w_class*:*%Y-%m-%d*:*w_format*:*...*:*w_but_val*:**:*new_field*:*3*:*id*:*type_radio*:*type*:*<b>Dine In / Take Out:</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Dine In***Dine Out*:*w_choices*:*false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*4*:*id*:*type_radio*:*type*:*<b>Food Quality:</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Excellent***Good***Average***Dissatisfied*:*w_choices*:*false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*5*:*id*:*type_radio*:*type*:*<b>Speed of Service:</b>*:*w_field_label*:*150*:*w_field_label_size*:*left*:*w_field_label_pos*:*ver*:*w_flow*:*Excellent***Good***Average***Dissatisfied*:*w_choices*:*false***false***false***false*:*w_choices_checked*:*1*:*w_rowcol*:*no*:*w_required*:*no*:*w_randomize*:*no*:*w_allow_other*:*0*:*w_allow_other_num*:**:*w_class*:**:*new_field*:*6*:*id*:*type_textarea*:*type*:*<b>Any comments, questions or suggestions?</b>*:*w_field_label*:*300*:*w_field_label_size*:*top*:*w_field_label_pos*:*300*:*w_size_w*:*100*:*w_size_h*:**:*w_first_val*:**:*w_title*:*no*:*w_required*:*no*:*w_unique*:**:*w_class*:**:*new_field*:*7*:*id*:*type_submit_reset*:*type*:*type_submit_reset_7*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*false*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
180 |
+
$wpdb->query('INSERT INTO `' . $wpdb->prefix . 'formmaker` VALUES(NULL, \'Product Survey\', \'\', \'<div class="wdform-page-and-images" style="display:table; border-top:0px solid black;"><div id="form_id_tempform_view1" class="wdform_page" page_title="Untitled page" next_title="Next" next_type="text" next_class="wdform-page-button" next_checkable="false" previous_title="Previous" previous_type="text" previous_class="wdform-page-button" previous_checkable="false"><div class="wdform_section"><div class="wdform_column"></div></div><div wdid="1" type="type_section_break" class="wdform_tr_section_break">%1 - custom_1%</div><div class="wdform_section"><div class="wdform_column"><div wdid="2" class="wdform_row">%2 - 1. Please indicate if you agree or disagree with the following statements%</div><div wdid="3" class="wdform_row">%3 - 2. How likely are you to recommend [Product/Service] to a friend or co-worker?%</div><div wdid="4" class="wdform_row">%4 - 3. What is the amount you would ever pay for a product like ours%</div><div wdid="5" class="wdform_row">%5 - 4. Please rate the product %</div><div wdid="6" class="wdform_row">%6 - type_submit_reset_6%</div></div></div><div valign="top" class="wdform_footer" style="width: 100%;"><div style="width: 100%;"><div style="width: 100%; display: table;"><div style="display: table-row-group;"><div id="form_id_temppage_nav1" style="display: table-row;"></div></div></div></div></div></div></div>\', 29, \'// Occurs before the form is loaded\r\nfunction before_load()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before submitting the form\r\nfunction before_submit()\r\n{\r\n\r\n}\r\n\r\n// Occurs just before resetting the form\r\nfunction before_reset()\r\n{\r\n\r\n}\', \'\', \'\', 0, \'%all%\', \'%all%\', 7, 1, \'2#**id**#1. Please indicate if you agree or disagree with the following statements#**label**#type_matrix#****#3#**id**#2. How likely are you to recommend [Product/Service] to a friend or co-worker?#**label**#type_scale_rating#****#4#**id**#3. What is the amount you would ever pay for a product like ours#**label**#type_range#****#5#**id**#4. Please rate the product #**label**#type_star_rating#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', \'2#**id**#1. Please indicate if you agree or disagree with the following statements#**label**#type_matrix#****#3#**id**#2. How likely are you to recommend [Product/Service] to a friend or co-worker?#**label**#type_scale_rating#****#4#**id**#3. What is the amount you would ever pay for a product like ours#**label**#type_range#****#5#**id**#4. Please rate the product #**label**#type_star_rating#****#6#**id**#type_submit_reset_6#**label**#type_submit_reset#****#\', 0, \'none\', \'false\', \'true\', \'\', \'\', \'\', 0, \'\', \'\', \'USD\', 0, \'1*:*id*:*type_section_break*:*type*:*custom_1*:*w_field_label*:*<h1 class="sg-title" data-mce-style="font-size: 2.2em; color: #fff; font-weight: normal; line-height: normal;" style="font-size: 2.2em; font-weight: normal; color: rgb(255, 255, 255); line-height: normal;">Product Survey</h1>*:*w_editor*:**:*new_field*:*2*:*id*:*type_matrix*:*type*:*1. Please indicate if you agree or disagree with the following statements*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*radio*:*w_field_input_type*:****Product is affordable***Product is valuable***Product is better<br> than other products on<br> the market***Product is easy to use*:*w_rows*:****Strongly Disagree***Disagree***Neutral***Agree***Strongly Agree*:*w_columns*:*no*:*w_required*:*wdform_matrix*:*w_class*:**:*new_field*:*3*:*id*:*type_scale_rating*:*type*:*2. How likely are you to recommend [Product/Service] to a friend or co-worker?*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*Will not recommend *** I will recommend*:*w_mini_labels*:*5*:*w_scale_amount*:*no*:*w_required*:*wdform_scale_rating*:*w_class*:**:*new_field*:*4*:*id*:*type_range*:*type*:*3. What is the amount you would ever pay for a product like ours*:*w_field_label*:*600*:*w_field_label_size*:*top*:*w_field_label_pos*:*40*:*w_field_range_width*:*1*:*w_field_range_step*:*null*:*w_field_value1*:*null*:*w_field_value2*:*From***To*:*w_mini_labels*:*no*:*w_required*:**:*w_class*:**:*new_field*:*5*:*id*:*type_star_rating*:*type*:*4. Please rate the product *:*w_field_label*:*150*:*w_field_label_size*:*top*:*w_field_label_pos*:*yellow*:*w_field_label_col*:*10*:*w_star_amount*:*no*:*w_required*:*wdform_star_rating*:*w_class*:**:*new_field*:*6*:*id*:*type_submit_reset*:*type*:*type_submit_reset_6*:*w_field_label*:*Submit*:*w_submit_title*:*Reset*:*w_reset_title*:**:*w_class*:*true*:*w_act*:**:*new_field*:*\', 1, 1, \'*\', \'\', \'\', \'\', \'\', 1, \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', \'\', 1, 1, 1, 1)');
|
181 |
+
}
|
182 |
+
}
|
183 |
+
|
184 |
?>
|
frontend/models/FMModelForm_maker.php
CHANGED
@@ -20,7 +20,7 @@ class FMModelForm_maker {
|
|
20 |
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
public function showform($id) {
|
22 |
global $wpdb;
|
23 |
-
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'formmaker WHERE id="%d"', $id));
|
24 |
if (!$row || !$row->published) {
|
25 |
return FALSE;
|
26 |
}
|
@@ -188,11 +188,11 @@ class FMModelForm_maker {
|
|
188 |
case "type_own_select":
|
189 |
case "type_country":
|
190 |
case "type_number": {
|
191 |
-
$value = isset($_POST['wdform_'.$i."_element".$id]) ? $_POST['wdform_'.$i."_element".$id] : "";
|
192 |
break;
|
193 |
}
|
194 |
case "type_wdeditor": {
|
195 |
-
$value = isset($_POST['wdform_'.$i.'_wd_editor'.$id]) ? $_POST['wdform_'.$i.'_wd_editor'.$id] : "";
|
196 |
break;
|
197 |
}
|
198 |
case "type_mark_map": {
|
@@ -222,12 +222,12 @@ class FMModelForm_maker {
|
|
222 |
break;
|
223 |
}
|
224 |
case "type_name": {
|
225 |
-
$element_title = isset($_POST['wdform_'.$i."_element_title".$id]) ? $_POST['wdform_'.$i."_element_title".$id] : NULL;
|
226 |
if(isset($element_title)) {
|
227 |
-
$value = (isset($_POST['wdform_'.$i."_element_title".$id]) ? $_POST['wdform_'.$i."_element_title".$id] : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_first".$id]) ? $_POST['wdform_'.$i."_element_first".$id] : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_last".$id]) ? $_POST['wdform_'.$i."_element_last".$id] : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_middle".$id]) ? $_POST['wdform_'.$i."_element_middle".$id] : "");
|
228 |
}
|
229 |
else {
|
230 |
-
$value = (isset($_POST['wdform_'.$i."_element_first".$id]) ? $_POST['wdform_'.$i."_element_first".$id] : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_last".$id]) ? $_POST['wdform_'.$i."_element_last".$id] : "");
|
231 |
}
|
232 |
break;
|
233 |
}
|
@@ -301,37 +301,37 @@ class FMModelForm_maker {
|
|
301 |
|
302 |
case 'type_address': {
|
303 |
$value = '*#*#*#';
|
304 |
-
$element = isset($_POST['wdform_'.$i."_street1".$id]) ? $_POST['wdform_'.$i."_street1".$id] : NULL;
|
305 |
if(isset($element)) {
|
306 |
$value = $element;
|
307 |
break;
|
308 |
}
|
309 |
|
310 |
-
$element = isset($_POST['wdform_'.$i."_street2".$id]) ? $_POST['wdform_'.$i."_street2".$id] : NULL;
|
311 |
if(isset($element)) {
|
312 |
$value = $element;
|
313 |
break;
|
314 |
}
|
315 |
|
316 |
-
$element = isset($_POST['wdform_'.$i."_city".$id]) ? $_POST['wdform_'.$i."_city".$id] : NULL;
|
317 |
if(isset($element)) {
|
318 |
$value = $element;
|
319 |
break;
|
320 |
}
|
321 |
|
322 |
-
$element = isset($_POST['wdform_'.$i."_state".$id]) ? $_POST['wdform_'.$i."_state".$id] : NULL;
|
323 |
if(isset($element)) {
|
324 |
$value = $element;
|
325 |
break;
|
326 |
}
|
327 |
|
328 |
-
$element = isset($_POST['wdform_'.$i."_postal".$id]) ? $_POST['wdform_'.$i."_postal".$id] : NULL;
|
329 |
if(isset($element)) {
|
330 |
$value = $element;
|
331 |
break;
|
332 |
}
|
333 |
|
334 |
-
$element = isset($_POST['wdform_'.$i."_country".$id]) ? $_POST['wdform_'.$i."_country".$id] : NULL;
|
335 |
if(isset($element)) {
|
336 |
$value = $element;
|
337 |
break;
|
@@ -340,7 +340,7 @@ class FMModelForm_maker {
|
|
340 |
}
|
341 |
|
342 |
case "type_hidden": {
|
343 |
-
$value = isset($_POST[$label_label[$key]]) ? $_POST[$label_label[$key]] : "";
|
344 |
break;
|
345 |
}
|
346 |
|
@@ -570,7 +570,7 @@ class FMModelForm_maker {
|
|
570 |
break;
|
571 |
}
|
572 |
|
573 |
-
case "type_scale_rating": {
|
574 |
$value = (isset($_POST['wdform_'.$i."_scale_radio".$id]) ? $_POST['wdform_'.$i."_scale_radio".$id] : 0) . '/' . (isset($_POST['wdform_'.$i."_scale_amount".$id]) ? $_POST['wdform_'.$i."_scale_amount".$id] : "");
|
575 |
break;
|
576 |
}
|
@@ -625,7 +625,7 @@ class FMModelForm_maker {
|
|
625 |
$input_value = "";
|
626 |
for($k = 1; $k <= $rows_count; $k++) {
|
627 |
for($j = 1; $j <= $columns_count; $j++) {
|
628 |
-
$input_value .= (isset($_POST['wdform_'.$i."_input_element".$id.$k.'_'.$j]) ? $_POST['wdform_'.$i."_input_element".$id.$k.'_'.$j] : "") . "***";
|
629 |
}
|
630 |
}
|
631 |
}
|
@@ -716,7 +716,7 @@ class FMModelForm_maker {
|
|
716 |
case "type_own_select":
|
717 |
case "type_country":
|
718 |
case "type_number": {
|
719 |
-
$value = isset($_POST[$i . "_element" . $id]) ? $_POST[$i . "_element" . $id] : "";
|
720 |
break;
|
721 |
}
|
722 |
case "type_mark_map": {
|
@@ -745,12 +745,12 @@ class FMModelForm_maker {
|
|
745 |
break;
|
746 |
}
|
747 |
case "type_name": {
|
748 |
-
$element_title = isset($_POST[$i . "_element_title" . $id]) ? $_POST[$i . "_element_title" . $id] : NULL;
|
749 |
if (isset($element_title)) {
|
750 |
-
$value = $element_title . ' ' . (isset($_POST[$i . "_element_first" . $id]) ? $_POST[$i . "_element_first" . $id] : "") . ' ' . (isset($_POST[$i . "_element_last" . $id]) ? $_POST[$i . "_element_last" . $id] : "") . ' ' . (isset($_POST[$i . "_element_middle" . $id]) ? $_POST[$i . "_element_middle" . $id] : "");
|
751 |
}
|
752 |
else {
|
753 |
-
$value = (isset($_POST[$i . "_element_first" . $id]) ? $_POST[$i . "_element_first" . $id] : "") . ' ' . (isset($_POST[$i . "_element_last" . $id]) ? $_POST[$i . "_element_last" . $id] : "");
|
754 |
}
|
755 |
break;
|
756 |
}
|
@@ -818,27 +818,27 @@ class FMModelForm_maker {
|
|
818 |
case 'type_address': {
|
819 |
$value = '*#*#*#';
|
820 |
if (isset($_POST[$i . "_street1" . $id])) {
|
821 |
-
$value = $_POST[$i . "_street1" . $id];
|
822 |
break;
|
823 |
}
|
824 |
if (isset($_POST[$i . "_street2" . $id])) {
|
825 |
-
$value = $_POST[$i . "_street2" . $id];
|
826 |
break;
|
827 |
}
|
828 |
if (isset($_POST[$i . "_city" . $id])) {
|
829 |
-
$value = $_POST[$i . "_city" . $id];
|
830 |
break;
|
831 |
}
|
832 |
if (isset($_POST[$i . "_state" . $id])) {
|
833 |
-
$value = $_POST[$i . "_state" . $id];
|
834 |
break;
|
835 |
}
|
836 |
if (isset($_POST[$i . "_postal" . $id])) {
|
837 |
-
$value = $_POST[$i . "_postal" . $id];
|
838 |
break;
|
839 |
}
|
840 |
if (isset($_POST[$i . "_country" . $id])) {
|
841 |
-
$value = $_POST[$i . "_country" . $id];
|
842 |
break;
|
843 |
}
|
844 |
break;
|
@@ -1094,7 +1094,7 @@ class FMModelForm_maker {
|
|
1094 |
$input_value="";
|
1095 |
foreach($row_ids as $row_id)
|
1096 |
foreach($column_ids as $column_id)
|
1097 |
-
$input_value .= (isset($_POST[$i."_input_element".$id.$row_id.'_'.$column_id]) ? $_POST[$i."_input_element".$id.$row_id.'_'.$column_id] : "")."***";
|
1098 |
}
|
1099 |
if (isset($_POST[$i."_input_type".$id]) && $_POST[$i."_input_type".$id] == "select") {
|
1100 |
$input_value="";
|
20 |
////////////////////////////////////////////////////////////////////////////////////////
|
21 |
public function showform($id) {
|
22 |
global $wpdb;
|
23 |
+
$row = $wpdb->get_row($wpdb->prepare('SELECT * FROM ' . $wpdb->prefix . 'formmaker WHERE id="%d" AND id NOT IN (' . (get_option('contact_form_forms', '') != '' ? get_option('contact_form_forms') : 0) . ')', $id));
|
24 |
if (!$row || !$row->published) {
|
25 |
return FALSE;
|
26 |
}
|
188 |
case "type_own_select":
|
189 |
case "type_country":
|
190 |
case "type_number": {
|
191 |
+
$value = isset($_POST['wdform_'.$i."_element".$id]) ? esc_html($_POST['wdform_'.$i."_element".$id]) : "";
|
192 |
break;
|
193 |
}
|
194 |
case "type_wdeditor": {
|
195 |
+
$value = isset($_POST['wdform_'.$i.'_wd_editor'.$id]) ? esc_html($_POST['wdform_'.$i.'_wd_editor'.$id]) : "";
|
196 |
break;
|
197 |
}
|
198 |
case "type_mark_map": {
|
222 |
break;
|
223 |
}
|
224 |
case "type_name": {
|
225 |
+
$element_title = isset($_POST['wdform_'.$i."_element_title".$id]) ? esc_html($_POST['wdform_'.$i."_element_title".$id]) : NULL;
|
226 |
if(isset($element_title)) {
|
227 |
+
$value = (isset($_POST['wdform_'.$i."_element_title".$id]) ? esc_html($_POST['wdform_'.$i."_element_title".$id]) : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_first".$id]) ? esc_html($_POST['wdform_'.$i."_element_first".$id]) : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_last".$id]) ? esc_html($_POST['wdform_'.$i."_element_last".$id]) : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_middle".$id]) ? esc_html($_POST['wdform_'.$i."_element_middle".$id]) : "");
|
228 |
}
|
229 |
else {
|
230 |
+
$value = (isset($_POST['wdform_'.$i."_element_first".$id]) ? esc_html($_POST['wdform_'.$i."_element_first".$id]) : "") . '@@@' . (isset($_POST['wdform_'.$i."_element_last".$id]) ? esc_html($_POST['wdform_'.$i."_element_last".$id]) : "");
|
231 |
}
|
232 |
break;
|
233 |
}
|
301 |
|
302 |
case 'type_address': {
|
303 |
$value = '*#*#*#';
|
304 |
+
$element = isset($_POST['wdform_'.$i."_street1".$id]) ? esc_html($_POST['wdform_'.$i."_street1".$id]) : NULL;
|
305 |
if(isset($element)) {
|
306 |
$value = $element;
|
307 |
break;
|
308 |
}
|
309 |
|
310 |
+
$element = isset($_POST['wdform_'.$i."_street2".$id]) ? esc_html($_POST['wdform_'.$i."_street2".$id]) : NULL;
|
311 |
if(isset($element)) {
|
312 |
$value = $element;
|
313 |
break;
|
314 |
}
|
315 |
|
316 |
+
$element = isset($_POST['wdform_'.$i."_city".$id]) ? esc_html($_POST['wdform_'.$i."_city".$id]) : NULL;
|
317 |
if(isset($element)) {
|
318 |
$value = $element;
|
319 |
break;
|
320 |
}
|
321 |
|
322 |
+
$element = isset($_POST['wdform_'.$i."_state".$id]) ? esc_html($_POST['wdform_'.$i."_state".$id]) : NULL;
|
323 |
if(isset($element)) {
|
324 |
$value = $element;
|
325 |
break;
|
326 |
}
|
327 |
|
328 |
+
$element = isset($_POST['wdform_'.$i."_postal".$id]) ? esc_html($_POST['wdform_'.$i."_postal".$id]) : NULL;
|
329 |
if(isset($element)) {
|
330 |
$value = $element;
|
331 |
break;
|
332 |
}
|
333 |
|
334 |
+
$element = isset($_POST['wdform_'.$i."_country".$id]) ? esc_html($_POST['wdform_'.$i."_country".$id]) : NULL;
|
335 |
if(isset($element)) {
|
336 |
$value = $element;
|
337 |
break;
|
340 |
}
|
341 |
|
342 |
case "type_hidden": {
|
343 |
+
$value = isset($_POST[$label_label[$key]]) ? esc_html($_POST[$label_label[$key]]) : "";
|
344 |
break;
|
345 |
}
|
346 |
|
570 |
break;
|
571 |
}
|
572 |
|
573 |
+
case "type_scale_rating": {
|
574 |
$value = (isset($_POST['wdform_'.$i."_scale_radio".$id]) ? $_POST['wdform_'.$i."_scale_radio".$id] : 0) . '/' . (isset($_POST['wdform_'.$i."_scale_amount".$id]) ? $_POST['wdform_'.$i."_scale_amount".$id] : "");
|
575 |
break;
|
576 |
}
|
625 |
$input_value = "";
|
626 |
for($k = 1; $k <= $rows_count; $k++) {
|
627 |
for($j = 1; $j <= $columns_count; $j++) {
|
628 |
+
$input_value .= (isset($_POST['wdform_'.$i."_input_element".$id.$k.'_'.$j]) ? esc_html($_POST['wdform_'.$i."_input_element".$id.$k.'_'.$j]) : "") . "***";
|
629 |
}
|
630 |
}
|
631 |
}
|
716 |
case "type_own_select":
|
717 |
case "type_country":
|
718 |
case "type_number": {
|
719 |
+
$value = isset($_POST[$i . "_element" . $id]) ? esc_html($_POST[$i . "_element" . $id]) : "";
|
720 |
break;
|
721 |
}
|
722 |
case "type_mark_map": {
|
745 |
break;
|
746 |
}
|
747 |
case "type_name": {
|
748 |
+
$element_title = isset($_POST[$i . "_element_title" . $id]) ? esc_html($_POST[$i . "_element_title" . $id]) : NULL;
|
749 |
if (isset($element_title)) {
|
750 |
+
$value = $element_title . ' ' . (isset($_POST[$i . "_element_first" . $id]) ? esc_html($_POST[$i . "_element_first" . $id]) : "") . ' ' . (isset($_POST[$i . "_element_last" . $id]) ? esc_html($_POST[$i . "_element_last" . $id]) : "") . ' ' . (isset($_POST[$i . "_element_middle" . $id]) ? esc_html($_POST[$i . "_element_middle" . $id]) : "");
|
751 |
}
|
752 |
else {
|
753 |
+
$value = (isset($_POST[$i . "_element_first" . $id]) ? esc_html($_POST[$i . "_element_first" . $id]) : "") . ' ' . (isset($_POST[$i . "_element_last" . $id]) ? esc_html($_POST[$i . "_element_last" . $id]) : "");
|
754 |
}
|
755 |
break;
|
756 |
}
|
818 |
case 'type_address': {
|
819 |
$value = '*#*#*#';
|
820 |
if (isset($_POST[$i . "_street1" . $id])) {
|
821 |
+
$value = esc_html($_POST[$i . "_street1" . $id]);
|
822 |
break;
|
823 |
}
|
824 |
if (isset($_POST[$i . "_street2" . $id])) {
|
825 |
+
$value = esc_html($_POST[$i . "_street2" . $id]);
|
826 |
break;
|
827 |
}
|
828 |
if (isset($_POST[$i . "_city" . $id])) {
|
829 |
+
$value = esc_html($_POST[$i . "_city" . $id]);
|
830 |
break;
|
831 |
}
|
832 |
if (isset($_POST[$i . "_state" . $id])) {
|
833 |
+
$value = esc_html($_POST[$i . "_state" . $id]);
|
834 |
break;
|
835 |
}
|
836 |
if (isset($_POST[$i . "_postal" . $id])) {
|
837 |
+
$value = esc_html($_POST[$i . "_postal" . $id]);
|
838 |
break;
|
839 |
}
|
840 |
if (isset($_POST[$i . "_country" . $id])) {
|
841 |
+
$value = esc_html($_POST[$i . "_country" . $id]);
|
842 |
break;
|
843 |
}
|
844 |
break;
|
1094 |
$input_value="";
|
1095 |
foreach($row_ids as $row_id)
|
1096 |
foreach($column_ids as $column_id)
|
1097 |
+
$input_value .= (isset($_POST[$i."_input_element".$id.$row_id.'_'.$column_id]) ? esc_html($_POST[$i."_input_element".$id.$row_id.'_'.$column_id]) : "")."***";
|
1098 |
}
|
1099 |
if (isset($_POST[$i."_input_type".$id]) && $_POST[$i."_input_type".$id] == "select") {
|
1100 |
$input_value="";
|
js/formmaker_div_free.js
CHANGED
@@ -3,7 +3,6 @@ var c;
|
|
3 |
var need_enable=true;;
|
4 |
var a = new Array();
|
5 |
//var plugin_url = "";
|
6 |
-
var id_ifr_editor = -1;
|
7 |
var count_of_fields_form = 7;
|
8 |
if (ajaxurl.indexOf("://") != -1) {
|
9 |
var url_for_ajax = ajaxurl;
|
@@ -2561,8 +2560,8 @@ function close_window() {
|
|
2561 |
document.getElementById('edit_table').innerHTML = "";
|
2562 |
document.getElementById('show_table').innerHTML = "";
|
2563 |
document.getElementById('main_editor').style.display = "none";
|
2564 |
-
if (document.
|
2565 |
-
ifr_id =
|
2566 |
ifr = getIFrameDocument(ifr_id);
|
2567 |
ifr.body.innerHTML = "";
|
2568 |
}
|
@@ -3768,8 +3767,8 @@ return rv;
|
|
3768 |
}
|
3769 |
|
3770 |
function delete_last_child() {
|
3771 |
-
if (document.
|
3772 |
-
ifr_id =
|
3773 |
ifr = getIFrameDocument(ifr_id);
|
3774 |
ifr.body.innerHTML = "";
|
3775 |
}
|
@@ -4078,8 +4077,8 @@ function type_section_break(i, w_editor) {
|
|
4078 |
document.getElementById('main_editor').style.left=iReturnLeft+195+"px";
|
4079 |
document.getElementById('main_editor').style.top=iReturnTop+70+"px";
|
4080 |
|
4081 |
-
if (document.
|
4082 |
-
ifr_id =
|
4083 |
ifr = getIFrameDocument(ifr_id);
|
4084 |
ifr.body.innerHTML = w_editor;
|
4085 |
}
|
@@ -4114,8 +4113,8 @@ function type_editor(i, w_editor) {
|
|
4114 |
document.getElementById('main_editor').style.left=iReturnLeft+195+"px";
|
4115 |
document.getElementById('main_editor').style.top=iReturnTop+70+"px";
|
4116 |
|
4117 |
-
if (document.
|
4118 |
-
ifr_id=
|
4119 |
ifr=getIFrameDocument(ifr_id);
|
4120 |
ifr.body.innerHTML=w_editor;
|
4121 |
}
|
@@ -26300,7 +26299,7 @@ function add(key) {
|
|
26300 |
|
26301 |
|
26302 |
|
26303 |
-
ifr_id=
|
26304 |
ifr=getIFrameDocument(ifr_id);
|
26305 |
if(document.getElementById('form_maker_editor').style.display=="none")
|
26306 |
wdform_field_in_editor.innerHTML=ifr.body.innerHTML;
|
@@ -26380,7 +26379,7 @@ function add(key) {
|
|
26380 |
in_editor.setAttribute("class", 'wdform_section_break');
|
26381 |
|
26382 |
|
26383 |
-
ifr_id=
|
26384 |
ifr=getIFrameDocument(ifr_id)
|
26385 |
|
26386 |
if(document.getElementById('form_maker_editor').style.display=="none")
|
@@ -26710,7 +26709,7 @@ function add(key) {
|
|
26710 |
destroyChildren(wdform_field);
|
26711 |
|
26712 |
|
26713 |
-
ifr_id=
|
26714 |
ifr=getIFrameDocument(ifr_id);
|
26715 |
if(document.getElementById('form_maker_editor').style.display=="none")
|
26716 |
{
|
@@ -26876,7 +26875,7 @@ function add(key) {
|
|
26876 |
td_PAGEDOWN.appendChild(img_PAGEDOWN);
|
26877 |
|
26878 |
|
26879 |
-
ifr_id=
|
26880 |
ifr=getIFrameDocument(ifr_id)
|
26881 |
|
26882 |
if(document.getElementById('form_maker_editor').style.display=="none")
|
@@ -28353,7 +28352,7 @@ function dublicate(id) {
|
|
28353 |
{
|
28354 |
case 'type_editor':
|
28355 |
{
|
28356 |
-
w_editor=document.getElementById(
|
28357 |
type_editor(gen, w_editor); break;
|
28358 |
}
|
28359 |
case 'type_section_break':
|
3 |
var need_enable=true;;
|
4 |
var a = new Array();
|
5 |
//var plugin_url = "";
|
|
|
6 |
var count_of_fields_form = 7;
|
7 |
if (ajaxurl.indexOf("://") != -1) {
|
8 |
var url_for_ajax = ajaxurl;
|
2560 |
document.getElementById('edit_table').innerHTML = "";
|
2561 |
document.getElementById('show_table').innerHTML = "";
|
2562 |
document.getElementById('main_editor').style.display = "none";
|
2563 |
+
if (document.getElementById('form_maker_editor_ifr')) {
|
2564 |
+
ifr_id = 'form_maker_editor_ifr';
|
2565 |
ifr = getIFrameDocument(ifr_id);
|
2566 |
ifr.body.innerHTML = "";
|
2567 |
}
|
3767 |
}
|
3768 |
|
3769 |
function delete_last_child() {
|
3770 |
+
if (document.getElementById('form_maker_editor_ifr')) {
|
3771 |
+
ifr_id = 'form_maker_editor_ifr';
|
3772 |
ifr = getIFrameDocument(ifr_id);
|
3773 |
ifr.body.innerHTML = "";
|
3774 |
}
|
4077 |
document.getElementById('main_editor').style.left=iReturnLeft+195+"px";
|
4078 |
document.getElementById('main_editor').style.top=iReturnTop+70+"px";
|
4079 |
|
4080 |
+
if (document.getElementById('form_maker_editor_ifr') && document.getElementById('form_maker_editor').style.display == "none") {
|
4081 |
+
ifr_id = 'form_maker_editor_ifr';
|
4082 |
ifr = getIFrameDocument(ifr_id);
|
4083 |
ifr.body.innerHTML = w_editor;
|
4084 |
}
|
4113 |
document.getElementById('main_editor').style.left=iReturnLeft+195+"px";
|
4114 |
document.getElementById('main_editor').style.top=iReturnTop+70+"px";
|
4115 |
|
4116 |
+
if (document.getElementById('form_maker_editor_ifr') && document.getElementById('form_maker_editor').style.display=="none") {
|
4117 |
+
ifr_id='form_maker_editor_ifr';
|
4118 |
ifr=getIFrameDocument(ifr_id);
|
4119 |
ifr.body.innerHTML=w_editor;
|
4120 |
}
|
26299 |
|
26300 |
|
26301 |
|
26302 |
+
ifr_id='form_maker_editor_ifr';
|
26303 |
ifr=getIFrameDocument(ifr_id);
|
26304 |
if(document.getElementById('form_maker_editor').style.display=="none")
|
26305 |
wdform_field_in_editor.innerHTML=ifr.body.innerHTML;
|
26379 |
in_editor.setAttribute("class", 'wdform_section_break');
|
26380 |
|
26381 |
|
26382 |
+
ifr_id='form_maker_editor_ifr';
|
26383 |
ifr=getIFrameDocument(ifr_id)
|
26384 |
|
26385 |
if(document.getElementById('form_maker_editor').style.display=="none")
|
26709 |
destroyChildren(wdform_field);
|
26710 |
|
26711 |
|
26712 |
+
ifr_id='form_maker_editor_ifr';
|
26713 |
ifr=getIFrameDocument(ifr_id);
|
26714 |
if(document.getElementById('form_maker_editor').style.display=="none")
|
26715 |
{
|
26875 |
td_PAGEDOWN.appendChild(img_PAGEDOWN);
|
26876 |
|
26877 |
|
26878 |
+
ifr_id='form_maker_editor_ifr';
|
26879 |
ifr=getIFrameDocument(ifr_id)
|
26880 |
|
26881 |
if(document.getElementById('form_maker_editor').style.display=="none")
|
28352 |
{
|
28353 |
case 'type_editor':
|
28354 |
{
|
28355 |
+
w_editor=document.getElementById("wdform_field"+id).innerHTML;
|
28356 |
type_editor(gen, w_editor); break;
|
28357 |
}
|
28358 |
case 'type_section_break':
|
js/formmaker_free.js
CHANGED
@@ -3,7 +3,6 @@ j = 2;
|
|
3 |
var c;
|
4 |
var need_enable = true;
|
5 |
var a = new Array();
|
6 |
-
var id_ifr_editor = -1;
|
7 |
var count_of_fields_form = 7;
|
8 |
if (ajaxurl.indexOf("://") != -1) {
|
9 |
var url_for_ajax = ajaxurl;
|
@@ -2365,8 +2364,8 @@ function close_window() {
|
|
2365 |
document.getElementById('edit_table').innerHTML = "";
|
2366 |
document.getElementById('show_table').innerHTML = "";
|
2367 |
document.getElementById('main_editor').style.display = "none";
|
2368 |
-
if (document.
|
2369 |
-
ifr_id =
|
2370 |
ifr = getIFrameDocument(ifr_id);
|
2371 |
ifr.body.innerHTML = "";
|
2372 |
}
|
@@ -3411,8 +3410,8 @@ function getIFrameDocument(aID) {
|
|
3411 |
}
|
3412 |
|
3413 |
function delete_last_child() {
|
3414 |
-
if (document.
|
3415 |
-
ifr_id =
|
3416 |
ifr = getIFrameDocument(ifr_id);
|
3417 |
ifr.body.innerHTML = "";
|
3418 |
}
|
@@ -3644,8 +3643,8 @@ function type_section_break(i, w_editor) {
|
|
3644 |
document.getElementById('main_editor').style.display="block";
|
3645 |
document.getElementById('main_editor').style.left=iReturnLeft + 195 + "px";
|
3646 |
document.getElementById('main_editor').style.top=iReturnTop + 70 + "px";
|
3647 |
-
if (document.
|
3648 |
-
ifr_id =
|
3649 |
ifr = getIFrameDocument(ifr_id);
|
3650 |
ifr.body.innerHTML = w_editor;
|
3651 |
}
|
@@ -3683,8 +3682,8 @@ function type_editor(i, w_editor){
|
|
3683 |
|
3684 |
|
3685 |
|
3686 |
-
if (document.
|
3687 |
-
ifr_id=
|
3688 |
ifr=getIFrameDocument(ifr_id);
|
3689 |
ifr.body.innerHTML=w_editor;
|
3690 |
}
|
@@ -25195,9 +25194,9 @@ function add(key) {
|
|
25195 |
in_editor.setAttribute('class', 'toolbar_padding');
|
25196 |
|
25197 |
|
25198 |
-
if(document.
|
25199 |
{
|
25200 |
-
ifr_id=
|
25201 |
ifr=getIFrameDocument(ifr_id);
|
25202 |
in_editor.innerHTML=ifr.body.innerHTML;
|
25203 |
}
|
@@ -25350,9 +25349,9 @@ function add(key) {
|
|
25350 |
|
25351 |
|
25352 |
|
25353 |
-
if(document.
|
25354 |
{
|
25355 |
-
ifr_id=
|
25356 |
ifr=getIFrameDocument(ifr_id)
|
25357 |
in_editor.innerHTML=ifr.body.innerHTML;
|
25358 |
}
|
@@ -25858,9 +25857,9 @@ function add(key) {
|
|
25858 |
in_editor.setAttribute('class', 'toolbar_padding');
|
25859 |
|
25860 |
|
25861 |
-
if(document.
|
25862 |
{
|
25863 |
-
ifr_id=
|
25864 |
ifr=getIFrameDocument(ifr_id);
|
25865 |
in_editor.innerHTML=ifr.body.innerHTML;
|
25866 |
}
|
@@ -26056,9 +26055,9 @@ function add(key) {
|
|
26056 |
|
26057 |
|
26058 |
|
26059 |
-
if(document.
|
26060 |
{
|
26061 |
-
ifr_id=
|
26062 |
ifr=getIFrameDocument(ifr_id)
|
26063 |
in_editor.innerHTML=ifr.body.innerHTML;
|
26064 |
}
|
3 |
var c;
|
4 |
var need_enable = true;
|
5 |
var a = new Array();
|
|
|
6 |
var count_of_fields_form = 7;
|
7 |
if (ajaxurl.indexOf("://") != -1) {
|
8 |
var url_for_ajax = ajaxurl;
|
2364 |
document.getElementById('edit_table').innerHTML = "";
|
2365 |
document.getElementById('show_table').innerHTML = "";
|
2366 |
document.getElementById('main_editor').style.display = "none";
|
2367 |
+
if (document.getElementById('form_maker_editor_ifr')) {
|
2368 |
+
ifr_id = 'form_maker_editor_ifr';
|
2369 |
ifr = getIFrameDocument(ifr_id);
|
2370 |
ifr.body.innerHTML = "";
|
2371 |
}
|
3410 |
}
|
3411 |
|
3412 |
function delete_last_child() {
|
3413 |
+
if (document.getElementById('form_maker_editor_ifr')) {
|
3414 |
+
ifr_id = 'form_maker_editor_ifr';
|
3415 |
ifr = getIFrameDocument(ifr_id);
|
3416 |
ifr.body.innerHTML = "";
|
3417 |
}
|
3643 |
document.getElementById('main_editor').style.display="block";
|
3644 |
document.getElementById('main_editor').style.left=iReturnLeft + 195 + "px";
|
3645 |
document.getElementById('main_editor').style.top=iReturnTop + 70 + "px";
|
3646 |
+
if (document.getElementById('form_maker_editor_ifr') && document.getElementById('form_maker_editor').style.display == "none") {
|
3647 |
+
ifr_id = 'form_maker_editor_ifr';
|
3648 |
ifr = getIFrameDocument(ifr_id);
|
3649 |
ifr.body.innerHTML = w_editor;
|
3650 |
}
|
3682 |
|
3683 |
|
3684 |
|
3685 |
+
if (document.getElementById('form_maker_editor_ifr') && document.getElementById('form_maker_editor').style.display=="none") {
|
3686 |
+
ifr_id='form_maker_editor_ifr';
|
3687 |
ifr=getIFrameDocument(ifr_id);
|
3688 |
ifr.body.innerHTML=w_editor;
|
3689 |
}
|
25194 |
in_editor.setAttribute('class', 'toolbar_padding');
|
25195 |
|
25196 |
|
25197 |
+
if(document.getElementById('form_maker_editor_ifr') && document.getElementById('form_maker_editor').style.display=="none")
|
25198 |
{
|
25199 |
+
ifr_id='form_maker_editor_ifr';
|
25200 |
ifr=getIFrameDocument(ifr_id);
|
25201 |
in_editor.innerHTML=ifr.body.innerHTML;
|
25202 |
}
|
25349 |
|
25350 |
|
25351 |
|
25352 |
+
if(document.getElementById('form_maker_editor_ifr') && document.getElementById('form_maker_editor').style.display=="none")
|
25353 |
{
|
25354 |
+
ifr_id='form_maker_editor_ifr';
|
25355 |
ifr=getIFrameDocument(ifr_id)
|
25356 |
in_editor.innerHTML=ifr.body.innerHTML;
|
25357 |
}
|
25857 |
in_editor.setAttribute('class', 'toolbar_padding');
|
25858 |
|
25859 |
|
25860 |
+
if(document.getElementById('form_maker_editor_ifr') && document.getElementById('form_maker_editor').style.display=="none")
|
25861 |
{
|
25862 |
+
ifr_id='form_maker_editor_ifr';
|
25863 |
ifr=getIFrameDocument(ifr_id);
|
25864 |
in_editor.innerHTML=ifr.body.innerHTML;
|
25865 |
}
|
26055 |
|
26056 |
|
26057 |
|
26058 |
+
if(document.getElementById('form_maker_editor_ifr') && document.getElementById('form_maker_editor').style.display=="none")
|
26059 |
{
|
26060 |
+
ifr_id='form_maker_editor_ifr';
|
26061 |
ifr=getIFrameDocument(ifr_id)
|
26062 |
in_editor.innerHTML=ifr.body.innerHTML;
|
26063 |
}
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-form.html
|
|
4 |
Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form,contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, Formular, formulario
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
4 |
Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form,contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, Formular, formulario
|
5 |
Requires at least: 3.0
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 1.7.10
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|