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

Version Description

Fixed: Bug with search by ID in Submissions
Fixed: Bug with Validation (Regular Exp.)

Download this release

Release Info

Developer webdorado
Plugin Icon 128x128 Form Maker by WD – user-friendly drag & drop Form Builder plugin
Version 1.9.17
Comparing to
See all releases

Code changes from version 1.9.16 to 1.9.17

admin/models/FMModelGenerete_csv.php CHANGED
@@ -88,6 +88,8 @@ class FMModelGenerete_csv {
88
  $data = array();
89
  $group_id_s_count = $limitstart + 1000 < count($group_id_s) ? $limitstart + 1000 : count($group_id_s);
90
 
 
 
91
  for ($www = $limitstart; $www < $group_id_s_count; $www++) {
92
  $i = $group_id_s[$www];
93
  $field_key = array_search($i, $label_id);
88
  $data = array();
89
  $group_id_s_count = $limitstart + 1000 < count($group_id_s) ? $limitstart + 1000 : count($group_id_s);
90
 
91
+ sort($group_id_s,SORT_NUMERIC);
92
+
93
  for ($www = $limitstart; $www < $group_id_s_count; $www++) {
94
  $i = $group_id_s[$www];
95
  $field_key = array_search($i, $label_id);
admin/models/FMModelGenerete_xml.php CHANGED
@@ -85,6 +85,8 @@ class FMModelGenerete_xml {
85
  $data = array();
86
  $group_id_s_count = $limitstart + 1000 < count($group_id_s) ? $limitstart + 1000 : count($group_id_s);
87
 
 
 
88
  for ($www = $limitstart; $www < $group_id_s_count; $www++) {
89
  $i = $group_id_s[$www];
90
  $field_key = array_search($i, $label_id);
85
  $data = array();
86
  $group_id_s_count = $limitstart + 1000 < count($group_id_s) ? $limitstart + 1000 : count($group_id_s);
87
 
88
+ sort($group_id_s,SORT_NUMERIC);
89
+
90
  for ($www = $limitstart; $www < $group_id_s_count; $www++) {
91
  $i = $group_id_s[$www];
92
  $field_key = array_search($i, $label_id);
admin/models/FMModelSubmissions_fm.php CHANGED
@@ -101,7 +101,7 @@ class FMModelSubmissions_fm {
101
  }
102
 
103
  if ($lists['id_search']) {
104
- $where[] = 'group_id ='.$lists['id_search'];
105
  }
106
 
107
  $where[] = 'form_id=' . $form_id . '';
101
  }
102
 
103
  if ($lists['id_search']) {
104
+ $where[] = 'group_id ='.(int)$lists['id_search'];
105
  }
106
 
107
  $where[] = 'form_id=' . $form_id . '';
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.9.16
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -13,7 +13,7 @@ define('WD_FM_URL', plugins_url(plugin_basename(dirname(__FILE__))));
13
 
14
  // Plugin menu.
15
  function form_maker_options_panel() {
16
- add_menu_page('Form Maker', 'Form Maker', 'manage_options', 'manage_fm', 'form_maker', WD_FM_URL . '/images/FormMakerLogo-16.png');
17
  add_menu_page('Form Maker Add-ons', 'Form Maker &nbsp;&nbsp;&nbsp;&nbsp; Add-ons', 'manage_options', 'extensions_fm', 'fm_extensions', WD_FM_URL . '/assets/add-ons-icon.png');
18
 
19
  $manage_page = add_submenu_page('manage_fm', 'Manager', 'Manager', 'manage_options', 'manage_fm', 'form_maker');
@@ -272,7 +272,7 @@ function register_fmemailverification_cpt(){
272
  // Activate plugin.
273
  function form_maker_activate() {
274
  $version = get_option("wd_form_maker_version");
275
- $new_version = '1.9.16';
276
  global $wpdb;
277
  if (!$version) {
278
  add_option("wd_form_maker_version", $new_version, '', 'no');
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.9.17
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
13
 
14
  // Plugin menu.
15
  function form_maker_options_panel() {
16
+ add_menu_page('Form Maker', 'Form Maker', 'manage_options', 'manage_fm', 'form_maker', WD_FM_URL . '/images/FormMakerLogo-16.png', 105.105);
17
  add_menu_page('Form Maker Add-ons', 'Form Maker &nbsp;&nbsp;&nbsp;&nbsp; Add-ons', 'manage_options', 'extensions_fm', 'fm_extensions', WD_FM_URL . '/assets/add-ons-icon.png');
18
 
19
  $manage_page = add_submenu_page('manage_fm', 'Manager', 'Manager', 'manage_options', 'manage_fm', 'form_maker');
272
  // Activate plugin.
273
  function form_maker_activate() {
274
  $version = get_option("wd_form_maker_version");
275
+ $new_version = '1.9.17';
276
  global $wpdb;
277
  if (!$version) {
278
  add_option("wd_form_maker_version", $new_version, '', 'no');
frontend/views/FMViewForm_maker.php CHANGED
@@ -1151,7 +1151,7 @@ class FMViewForm_maker {
1151
  ("'.$param["w_regExp_arg"].'".length <= 0) ? RegExpression = new RegExp(rules) : RegExpression = new RegExp(rules'.', "'.$param["w_regExp_arg"].'" );
1152
 
1153
  if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none") {
1154
- if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val().length > 0){
1155
  if (RegExpression.test(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()) != true)
1156
  {
1157
  alert( " '.$param["w_regExp_alert"].' ");
1151
  ("'.$param["w_regExp_arg"].'".length <= 0) ? RegExpression = new RegExp(rules) : RegExpression = new RegExp(rules'.', "'.$param["w_regExp_arg"].'" );
1152
 
1153
  if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none") {
1154
+ if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val().length > 0 && jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()!="'.$param['w_title'].'"){
1155
  if (RegExpression.test(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()) != true)
1156
  {
1157
  alert( " '.$param["w_regExp_alert"].' ");
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-form.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.4
6
  Tested up to: 4.6
7
- Stable tag: 1.9.16
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -314,6 +314,9 @@ Form Maker uses phone and number field types, which are verified and do not acce
314
  Email field should be used since it verifies that an entry format fulfills example@example.com format.
315
 
316
  == Changelog ==
 
 
 
317
 
318
  = 1.9.16 =
319
  Fixed: Bug with Hidden field in custom text in Email
4
  Tags: captcha, contact, contact form, contact forms, custom form, email, feedback, form, form builder, form manager, forms, survey
5
  Requires at least: 3.4
6
  Tested up to: 4.6
7
+ Stable tag: 1.9.17
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
314
  Email field should be used since it verifies that an entry format fulfills example@example.com format.
315
 
316
  == Changelog ==
317
+ = 1.9.17 =
318
+ Fixed: Bug with search by ID in Submissions
319
+ Fixed: Bug with Validation (Regular Exp.)
320
 
321
  = 1.9.16 =
322
  Fixed: Bug with Hidden field in custom text in Email