Contact Form Builder – a plugin for creating contact and feedback forms - Version 1.0.58

Version Description

  • Changed: field type in submissions MySQL table
  • Fixed: Minor javascript errors
  • Fixed: Bug on empty values
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Contact Form Builder – a plugin for creating contact and feedback forms
Version 1.0.58
Comparing to
See all releases

Code changes from version 1.0.57 to 1.0.58

contact-form-builder-insert.php CHANGED
@@ -65,7 +65,7 @@ function contact_form_maker_insert() {
65
  `id` int(11) NOT NULL AUTO_INCREMENT,
66
  `form_id` int(11) NOT NULL,
67
  `element_label` varchar(128) NOT NULL,
68
- `element_value` varchar(600) NOT NULL,
69
  `group_id` int(11) NOT NULL,
70
  `date` datetime NOT NULL,
71
  `ip` varchar(128) NOT NULL,
65
  `id` int(11) NOT NULL AUTO_INCREMENT,
66
  `form_id` int(11) NOT NULL,
67
  `element_label` varchar(128) NOT NULL,
68
+ `element_value` text NOT NULL,
69
  `group_id` int(11) NOT NULL,
70
  `date` datetime NOT NULL,
71
  `ip` varchar(128) NOT NULL,
contact-form-builder-update.php CHANGED
@@ -20,6 +20,9 @@ function contact_form_maker_update($version) {
20
  add_option('cfm_settings', array('public_key' => $public_key, 'private_key' => $private_key, 'map_key' => ''));
21
  }
22
  }
 
 
 
23
  return;
24
  }
25
 
20
  add_option('cfm_settings', array('public_key' => $public_key, 'private_key' => $private_key, 'map_key' => ''));
21
  }
22
  }
23
+ if (version_compare($version, '1.0.58') == -1) {
24
+ $wpdb->query("ALTER TABLE `" . $wpdb->prefix . "contactformmaker` CHANGE `element_value` `element_value` text NOT NULL");
25
+ }
26
  return;
27
  }
28
 
contact-form-builder.php CHANGED
@@ -3,14 +3,14 @@
3
  * Plugin Name: Contact Form Builder
4
  * Plugin URI: http://web-dorado.com/products/wordpress-contact-form-builder.html
5
  * Description: Contact Form Builder is an advanced plugin to add contact forms into your website. It comes along with multiple default templates which can be customized.
6
- * Version: 1.0.57
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
11
  define('WD_CFM_DIR', WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__)));
12
  define('WD_CFM_URL', plugins_url(plugin_basename(dirname(__FILE__))));
13
- define('WD_CFM_VERSION', '1.0.57');
14
 
15
  // Plugin menu.
16
  function contact_form_maker_options_panel() {
3
  * Plugin Name: Contact Form Builder
4
  * Plugin URI: http://web-dorado.com/products/wordpress-contact-form-builder.html
5
  * Description: Contact Form Builder is an advanced plugin to add contact forms into your website. It comes along with multiple default templates which can be customized.
6
+ * Version: 1.0.58
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
10
  */
11
  define('WD_CFM_DIR', WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__)));
12
  define('WD_CFM_URL', plugins_url(plugin_basename(dirname(__FILE__))));
13
+ define('WD_CFM_VERSION', '1.0.58');
14
 
15
  // Plugin menu.
16
  function contact_form_maker_options_panel() {
frontend/views/CFMViewForm_maker.php CHANGED
@@ -1212,7 +1212,7 @@ class CFMViewForm_maker {
1212
  to.childNodes[k].appendChild(move.childNodes[k].firstChild);
1213
  }
1214
  }
1215
- else {
1216
  to.appendChild(move.childNodes[k]);
1217
  }
1218
  }
1212
  to.childNodes[k].appendChild(move.childNodes[k].firstChild);
1213
  }
1214
  }
1215
+ else if (typeof move.childNodes[k] != "undefined") {
1216
  to.appendChild(move.childNodes[k]);
1217
  }
1218
  }
js/contactformmaker.js CHANGED
@@ -11564,3 +11564,13 @@ function gen_form_fields()
11564
 
11565
  }
11566
  }
 
 
 
 
 
 
 
 
 
 
11564
 
11565
  }
11566
  }
11567
+ function dis_option(id, value, num) {
11568
+ if (value) {
11569
+ jQuery('#' + id).val('');
11570
+ jQuery('#el_option_value' + num).val('');
11571
+ }
11572
+ else {
11573
+ jQuery('#' + id).val(jQuery('#' + id).html());
11574
+ jQuery('#el_option_value' + num).val(jQuery('#el_option' + num).val());
11575
+ }
11576
+ }
readme.txt CHANGED
@@ -1,22 +1,22 @@
1
- === Form Builder ===
2
  Contributors: webdorado
3
  Donate link: http://web-dorado.com/products/wordpress-contact-form-builder.html
4
- Tags: captcha, contact, contact form, contact forms, custom form, email, feedback, form, form builder, form manager, forms, survey
5
- Requires at least: 3.0.0
6
- Tested up to: 4.7
7
- Stable tag: 1.0.57
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Form Builder is an intuitive tool for creating contact forms rearranging and editing fields.
12
 
13
  == Description ==
14
- Create responsive FREE contact forms with multiple templates and theme options.
15
 
16
  [WordPress Contact Form Builder](http://web-dorado.com/products/wordpress-contact-form-builder.html)
 
17
  [Demo](http://wpdemo.web-dorado.com/contact-form-builder/)
18
  [Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=manage_cfm)
19
- [User Manual](https://web-dorado.com/wordpress-contact-form-builder/installing.html)
20
 
21
  https://www.youtube.com/watch?v=EqhOv7xVI2w
22
 
@@ -138,6 +138,11 @@ After downloading the ZIP file,
138
 
139
  == Changelog ==
140
 
 
 
 
 
 
141
  = 1.0.57 =
142
  * Changed: Improved captcha security
143
 
1
+ === Contact Form Builder - a plugin for creating contact forms and feedback forms ===
2
  Contributors: webdorado
3
  Donate link: http://web-dorado.com/products/wordpress-contact-form-builder.html
4
+ Tags: contact form, contact forms, contact, feedback, form manager, captcha, custom form, email, form, form builder, forms, survey
5
+ Requires at least: 3.4
6
+ Tested up to: 4.8
7
+ Stable tag: 1.0.58
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Contact Form Builder is an intuitive tool for creating responsive contact forms rearranging and editing fields.
12
 
13
  == Description ==
14
+ Create responsive FREE contact forms with multiple templates and themes.
15
 
16
  [WordPress Contact Form Builder](http://web-dorado.com/products/wordpress-contact-form-builder.html)
17
+ [User Manual](https://web-dorado.com/wordpress-contact-form-builder/installing.html)
18
  [Demo](http://wpdemo.web-dorado.com/contact-form-builder/)
19
  [Demo Admin](http://wpdemo.web-dorado.com/wp-admin/admin.php?page=manage_cfm)
 
20
 
21
  https://www.youtube.com/watch?v=EqhOv7xVI2w
22
 
138
 
139
  == Changelog ==
140
 
141
+ = 1.0.58 =
142
+ * Changed: field type in submissions MySQL table
143
+ * Fixed: Minor javascript errors
144
+ * Fixed: Bug on empty values
145
+
146
  = 1.0.57 =
147
  * Changed: Improved captcha security
148