Contact Form by WD – responsive drag & drop contact form builder tool - Version 1.12.10

Version Description

  • Fixed: A minor bug.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Contact Form by WD – responsive drag & drop contact form builder tool
Version 1.12.10
Comparing to
See all releases

Code changes from version 1.12.9 to 1.12.10

admin/controllers/Widget.php CHANGED
@@ -10,12 +10,12 @@ class FMControllerWidget_fmc extends WP_Widget {
10
  public function __construct() {
11
  $widget_ops = array(
12
  'classname' => 'form_maker_widget',
13
- 'description' => 'Add Form Maker widget.',
14
  );
15
  // Widget Control Settings.
16
  $control_ops = array( 'id_base' => 'form_maker_widget' );
17
  // Create the widget.
18
- parent::__construct('form_maker_widget', 'Form Maker', $widget_ops, $control_ops);
19
  require_once WDCFM()->plugin_dir . "/admin/models/Widget.php";
20
  $this->model = new FMModelWidget_fmc();
21
  require_once WDCFM()->plugin_dir . "/admin/views/Widget.php";
@@ -24,7 +24,7 @@ class FMControllerWidget_fmc extends WP_Widget {
24
 
25
  public function widget( $args, $instance ) {
26
  require_once(WDCFM()->plugin_dir . '/frontend/controllers/form_maker.php');
27
- $controller_class = 'FMControllerForm_maker';
28
  $controller = new $controller_class();
29
  $execute = $controller->execute($instance['form_id']);
30
  $this->view->widget($args, $instance, $execute);
10
  public function __construct() {
11
  $widget_ops = array(
12
  'classname' => 'form_maker_widget',
13
+ 'description' => __('Add Contact Form Maker widget.', WDCFM()->prefix),
14
  );
15
  // Widget Control Settings.
16
  $control_ops = array( 'id_base' => 'form_maker_widget' );
17
  // Create the widget.
18
+ parent::__construct('form_maker_widget', WDCFM()->nicename, $widget_ops, $control_ops);
19
  require_once WDCFM()->plugin_dir . "/admin/models/Widget.php";
20
  $this->model = new FMModelWidget_fmc();
21
  require_once WDCFM()->plugin_dir . "/admin/views/Widget.php";
24
 
25
  public function widget( $args, $instance ) {
26
  require_once(WDCFM()->plugin_dir . '/frontend/controllers/form_maker.php');
27
+ $controller_class = 'FMControllerForm_maker_fmc';
28
  $controller = new $controller_class();
29
  $execute = $controller->execute($instance['form_id']);
30
  $this->view->widget($args, $instance, $execute);
contact-form-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Contact Form Maker
4
  * Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
5
  * Description: WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms.
6
- * Version: 1.12.9
7
  * Author: WebDorado Form Builder Team
8
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -89,8 +89,8 @@ final class WDCFM {
89
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
90
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
91
  $this->main_file = plugin_basename(__FILE__);
92
- $this->plugin_version = '1.12.9';
93
- $this->db_version = '2.12.9';
94
  $this->menu_slug = 'manage_fmc';
95
  $this->prefix = 'form_maker_fmc';
96
  $this->css_prefix = 'fmc_';
@@ -767,7 +767,7 @@ final class WDCFM {
767
  }
768
  }
769
  WDCFMInsert::install_demo_forms();
770
- flush_rewrite_rules();
771
  }
772
 
773
  /**
3
  * Plugin Name: Contact Form Maker
4
  * Plugin URI: https://web-dorado.com/products/form-maker-wordpress.html
5
  * Description: WordPress Contact Form Maker is a simple contact form builder, which allows the user with almost no knowledge of programming to create and edit different type of contact forms.
6
+ * Version: 1.12.10
7
  * Author: WebDorado Form Builder Team
8
  * Author URI: https://web-dorado.com/wordpress-plugins-bundle.html
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
89
  $this->plugin_dir = WP_PLUGIN_DIR . "/" . plugin_basename(dirname(__FILE__));
90
  $this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
91
  $this->main_file = plugin_basename(__FILE__);
92
+ $this->plugin_version = '1.12.10';
93
+ $this->db_version = '2.12.10';
94
  $this->menu_slug = 'manage_fmc';
95
  $this->prefix = 'form_maker_fmc';
96
  $this->css_prefix = 'fmc_';
767
  }
768
  }
769
  WDCFMInsert::install_demo_forms();
770
+ // flush_rewrite_rules();
771
  }
772
 
773
  /**
frontend/views/form_maker.php CHANGED
@@ -1914,6 +1914,9 @@ class FMViewForm_maker_fmc {
1914
  break;
1915
  }
1916
  }
 
 
 
1917
  wp_add_inline_script('fm-script-' . $id, $onload_js);
1918
 
1919
  return WDW_FMC_Library::fm_container($form->theme, $fm_form);
1914
  break;
1915
  }
1916
  }
1917
+ if ( $onload_js ) {
1918
+ $onload_js = 'jQuery(document).ready(function () {' . $onload_js . '})';
1919
+ }
1920
  wp_add_inline_script('fm-script-' . $id, $onload_js);
1921
 
1922
  return WDW_FMC_Library::fm_container($form->theme, $fm_form);
js/main_div_front_end.js CHANGED
@@ -1105,7 +1105,13 @@ function wd_is_filled(form_id, field_id) {
1105
  var req_fields = field_id ? field_id.split() : window['required_fields'+form_id];
1106
  var not_filled = {};
1107
  jQuery(req_fields).each(function(index, wdid) {
1108
- if(x.find(jQuery("div[wdid='"+wdid+"']")).length != 0 && x.find(jQuery("div[wdid='"+wdid+"']")).css("display") != "none" ) {
 
 
 
 
 
 
1109
  switch(window['labels_and_ids'+form_id][wdid]) {
1110
  case 'type_text':
1111
  case 'type_textarea':
1105
  var req_fields = field_id ? field_id.split() : window['required_fields'+form_id];
1106
  var not_filled = {};
1107
  jQuery(req_fields).each(function(index, wdid) {
1108
+ // if ( x.find(jQuery("div[wdid='"+wdid+"']")).is(":visible") === false ) {
1109
+ // x.find(jQuery("div[wdid='"+wdid+"']")).find('.fm-not-filled').remove();
1110
+ // x.find(jQuery("div[wdid='"+wdid+"']")).css("background-color", "");
1111
+ // x.find(jQuery("div[wdid='"+wdid+"'] label")).removeClass("error_label");
1112
+ //}
1113
+ // if ( x.find(jQuery("div[wdid='"+wdid+"']")).length != 0 && x.find(jQuery("div[wdid='"+wdid+"']")).is(":visible") === true ) {
1114
+ if(x.find(jQuery("div[wdid='"+wdid+"']")).length != 0 && x.find(jQuery("div[wdid='"+wdid+"']")).css("display") != "none" ) {
1115
  switch(window['labels_and_ids'+form_id][wdid]) {
1116
  case 'type_text':
1117
  case 'type_textarea':
readme.txt CHANGED
@@ -1,18 +1,25 @@
1
  === Contact Form by WD - responsive drag & drop contact form builder tool ===
2
- Contributors: webdorado
3
  Tags: contact, contact form, email, forms, contact forms, custom form, feedback, form builder, form manager, form maker, forms builder, form builder wordpress
4
  Requires at least: 3.4
5
  Tested up to: 4.9
6
- Stable tag: 1.12.9
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  Contact Form by WD plugin is a simple contact form builder tool, which allows the user to create and edit different types of contact forms.
11
 
12
  == Description ==
 
 
 
 
 
 
 
 
13
  Create simple contact forms or complex applications forms with this FREE and intuitive WordPress plugin. No coding knowledge is required.
14
 
15
- [Special Offer for all Premium Plugins](https://web-dorado.com/wordpress-plugins-bundle.html)
16
  [WordPress Contact Form Maker](http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html)
17
 
18
  WordPress Contact Form Maker is a simple contact form creator, which allows the user with almost no knowledge of programming to create and edit different type of responsive forms. The product is similar to the WordPress Form Maker using most of its functionality, whereas there are also some differences. If want to build complicated contact forms with various field types like Date, Time, Single choice, Multiple choice, etc., than you can use [WordPress Form Builder](http://wordpress.org/extend/plugins/form-maker).
@@ -160,6 +167,9 @@ If you want to update the plugin while preserving your existing contact forms, y
160
 
161
 
162
 
 
 
 
163
  = 1.12.9 =
164
  * Changed: Improved user interface of forms, submissions and options.
165
  * Changed: Improved Drag & Drop Form Builder functionality.
1
  === Contact Form by WD - responsive drag & drop contact form builder tool ===
2
+ Contributors: webdorado,10web
3
  Tags: contact, contact form, email, forms, contact forms, custom form, feedback, form builder, form manager, form maker, forms builder, form builder wordpress
4
  Requires at least: 3.4
5
  Tested up to: 4.9
6
+ Stable tag: 1.12.10
7
  License: GPLv2 or later
8
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
 
10
  Contact Form by WD plugin is a simple contact form builder tool, which allows the user to create and edit different types of contact forms.
11
 
12
  == Description ==
13
+ Special offer:
14
+
15
+ [Try Contact Form premium and 60 other plugins for free at 10Web](https://10web.io/plugins/wordpress-form-maker/)
16
+
17
+ 10Web is a new platform from WebDorado
18
+
19
+
20
+
21
  Create simple contact forms or complex applications forms with this FREE and intuitive WordPress plugin. No coding knowledge is required.
22
 
 
23
  [WordPress Contact Form Maker](http://web-dorado.com/products/wordpress-contact-form-maker-plugin.html)
24
 
25
  WordPress Contact Form Maker is a simple contact form creator, which allows the user with almost no knowledge of programming to create and edit different type of responsive forms. The product is similar to the WordPress Form Maker using most of its functionality, whereas there are also some differences. If want to build complicated contact forms with various field types like Date, Time, Single choice, Multiple choice, etc., than you can use [WordPress Form Builder](http://wordpress.org/extend/plugins/form-maker).
167
 
168
 
169
 
170
+ = 1.12.10 =
171
+ * Fixed: A minor bug.
172
+
173
  = 1.12.9 =
174
  * Changed: Improved user interface of forms, submissions and options.
175
  * Changed: Improved Drag & Drop Form Builder functionality.