Form Maker by WD – user-friendly drag & drop Form Builder plugin - Version 1.12.10

Version Description

  • Fixed: a minor bug.
Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Form Maker by WD – user-friendly drag & drop Form Builder plugin
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 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 WDFM()->plugin_dir . "/admin/models/Widget.php";
20
  $this->model = new FMModelWidget();
21
  require_once WDFM()->plugin_dir . "/admin/views/Widget.php";
10
  public function __construct() {
11
  $widget_ops = array(
12
  'classname' => 'form_maker_widget',
13
+ 'description' => __('Add Form Maker widget.', WDFM()->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', WDFM()->nicename, $widget_ops, $control_ops);
19
  require_once WDFM()->plugin_dir . "/admin/models/Widget.php";
20
  $this->model = new FMModelWidget();
21
  require_once WDFM()->plugin_dir . "/admin/views/Widget.php";
form-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://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.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 WDFM {
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_fm';
95
  $this->prefix = 'form_maker';
96
  $this->css_prefix = 'fm_';
@@ -767,7 +767,7 @@ final class WDFM {
767
  }
768
  }
769
  WDFMInsert::install_demo_forms();
770
- flush_rewrite_rules();
771
  }
772
 
773
  /**
3
  * Plugin Name: Form Maker
4
  * Plugin URI: https://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.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_fm';
95
  $this->prefix = 'form_maker';
96
  $this->css_prefix = 'fm_';
767
  }
768
  }
769
  WDFMInsert::install_demo_forms();
770
+ // flush_rewrite_rules();
771
  }
772
 
773
  /**
frontend/views/form_maker.php CHANGED
@@ -1914,6 +1914,9 @@ class FMViewForm_maker {
1914
  break;
1915
  }
1916
  }
 
 
 
1917
  wp_add_inline_script('fm-script-' . $id, $onload_js);
1918
 
1919
  return WDW_FM_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_FM_Library::fm_container($form->theme, $fm_form);
js/main_div_front_end.js CHANGED
@@ -1105,6 +1105,12 @@ 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':
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':
readme.txt CHANGED
@@ -3,7 +3,7 @@ Contributors: webdorado,wdsupport,formmakersupport
3
  Tags: form, form builder, contact form, custom form, feedback, contact, contact forms, captcha, email, form manager, forms, survey
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
 
@@ -289,6 +289,9 @@ MailChimp form add-on of Form Maker lets you build up a customer database on you
289
 
290
  == Changelog ==
291
 
 
 
 
292
  = 1.12.9 =
293
  * Fixed: Date range field buttons position.
294
  * Fixed: Forms count in backend.
3
  Tags: form, form builder, contact form, custom form, feedback, contact, contact forms, captcha, email, form manager, forms, survey
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
 
289
 
290
  == Changelog ==
291
 
292
+ = 1.12.10 =
293
+ * Fixed: a minor bug.
294
+
295
  = 1.12.9 =
296
  * Fixed: Date range field buttons position.
297
  * Fixed: Forms count in backend.