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

Version Description

Fixed: Show statistics in submissions. Fixed: Save field after edit.

Download this release

Release Info

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

Code changes from version 1.0.22 to 1.0.23

admin/models/CFMModelManage_cfm.php CHANGED
@@ -78,7 +78,7 @@ class CFMModelManage_cfm {
78
  $rep = '';
79
  $param = array();
80
  $param['attributes'] = '';
81
- $rep = '<div class="wdform_checkbox" style="display: table-cell;"><div id="X_'.$id.'" class="element_toolbar"><input type="checkbox" id="disable_field'.$id.'" title="' . __("Disable the field", 'contact_form_maker') . '" onclick="remove_row(&quot;'.$id.'&quot;)" style="vertical-align: top; margin-left: 5px;"></div></div>';
82
  switch ($type) {
83
  case 'type_section_break': {
84
  $params_names = array('w_editor');
78
  $rep = '';
79
  $param = array();
80
  $param['attributes'] = '';
81
+ $rep = '<div class="wdform_checkbox" style="display: table-cell;"><div id="X_'.$id.'" class="element_toolbar"' . ($type == 'type_submit_reset' ? ' style="visibility: hidden;"' : '') . '><input type="checkbox" id="disable_field'.$id.'" title="' . __("Disable the field", 'contact_form_maker') . '" onclick="remove_row(&quot;'.$id.'&quot;)" style="vertical-align: top; margin-left: 5px;"></div></div>';
82
  switch ($type) {
83
  case 'type_section_break': {
84
  $params_names = array('w_editor');
contact-form-builder.php CHANGED
@@ -3,7 +3,7 @@
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.22
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -198,7 +198,7 @@ if (class_exists('WP_Widget')) {
198
  // Activate plugin.
199
  function contact_form_maker_activate() {
200
  $version = get_option("wd_contact_form_maker_version");
201
- $new_version = '1.0.22';
202
  if ($version && version_compare($version, $new_version, '<')) {
203
  require_once WD_CFM_DIR . "/contact-form-builder-update.php";
204
  contact_form_maker_update($version);
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.23
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
198
  // Activate plugin.
199
  function contact_form_maker_activate() {
200
  $version = get_option("wd_contact_form_maker_version");
201
+ $new_version = '1.0.23';
202
  if ($version && version_compare($version, $new_version, '<')) {
203
  require_once WD_CFM_DIR . "/contact-form-builder-update.php";
204
  contact_form_maker_update($version);
js/contactformmaker.js CHANGED
@@ -1054,8 +1054,7 @@ if( window.getComputedStyle )
1054
  }
1055
  }
1056
 
1057
- function disable_form_field(id)
1058
- {
1059
  var wdform_field = document.getElementById('wdform_field'+id);
1060
  if(id==28 && !document.getElementById( "disable_field29").parentNode.getAttribute("disabled"))
1061
  {
@@ -9728,8 +9727,6 @@ function remove_add_(id)
9728
  }
9729
 
9730
  function add(key) {
9731
- if(jQuery('#enable_sortable').prop( 'checked' ))
9732
- show_arrows(wdid);
9733
  if (document.getElementById("element_type").value == "type_section_break") {
9734
  form_view = 1;
9735
  if (document.getElementById('editing_id').value) {
@@ -10254,8 +10251,6 @@ function add(key) {
10254
  else alert(fmc_objectL10n.fmc_select_element_add);
10255
  if(document.getElementById('enable_sortable').value==1)
10256
  jQuery( ".wdform_arrows" ).hide();
10257
-
10258
- jQuery(".wdform_page input[type='text'], .wdform_page input[type='password'], .wdform_page input[type='file'], .wdform_page textarea, .wdform_page input[type='checkbox'], .wdform_page input[type='radio'], .wdform_page select").prop("disabled", true);
10259
  }
10260
 
10261
  function call(i,key)
1054
  }
1055
  }
1056
 
1057
+ function disable_form_field(id) {
 
1058
  var wdform_field = document.getElementById('wdform_field'+id);
1059
  if(id==28 && !document.getElementById( "disable_field29").parentNode.getAttribute("disabled"))
1060
  {
9727
  }
9728
 
9729
  function add(key) {
 
 
9730
  if (document.getElementById("element_type").value == "type_section_break") {
9731
  form_view = 1;
9732
  if (document.getElementById('editing_id').value) {
10251
  else alert(fmc_objectL10n.fmc_select_element_add);
10252
  if(document.getElementById('enable_sortable').value==1)
10253
  jQuery( ".wdform_arrows" ).hide();
 
 
10254
  }
10255
 
10256
  function call(i,key)
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://web-dorado.com/products/wordpress-contact-form-builder.html
4
  Tags: form, forms, contact form, contact forms, contact form plugin, contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contact forms, custom form, Contact Form Builder with recaptcha, contact form with google map, feedback form, feedback forms, contact us, wordpress contact form, email form, feedback, web form, contact me, email, contact manager, contact us form, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha, advanced form, recaptcha
5
  Requires at least: 3.4
6
  Tested up to: 4.2
7
- Stable tag: 1.0.22
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -135,6 +135,10 @@ After downloading the ZIP file,
135
 
136
  == Changelog ==
137
 
 
 
 
 
138
  = 1.0.22 =
139
  Added: Form fields drag & drop in backend.
140
 
4
  Tags: form, forms, contact form, contact forms, contact form plugin, contact forms plugin, forms plugin, Contact Form Builder, contact form manager, multiple contact forms, custom form, Contact Form Builder with recaptcha, contact form with google map, feedback form, feedback forms, contact us, wordpress contact form, email form, feedback, web form, contact me, email, contact manager, contact us form, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha, advanced form, recaptcha
5
  Requires at least: 3.4
6
  Tested up to: 4.2
7
+ Stable tag: 1.0.23
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
135
 
136
  == Changelog ==
137
 
138
+ = 1.0.23 =
139
+ Fixed: Show statistics in submissions.
140
+ Fixed: Save field after edit.
141
+
142
  = 1.0.22 =
143
  Added: Form fields drag & drop in backend.
144