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

Version Description

Fixed: Bug in slider field
Fixed: Bug in address field
Fixed: Bug in mysql mapping

Download this release

Release Info

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

Code changes from version 1.7.66 to 1.7.67

admin/views/FMViewManage_fm.php CHANGED
@@ -233,33 +233,18 @@ class FMViewManage_fm {
233
  l_label = document.getElementById(wdid + '_element_labelform_id_temp').innerHTML;
234
  l_label = l_label.replace(/(\r\n|\n|\r)/gm," ");
235
  wdtype = wdform_row.firstChild.getAttribute('type');
236
- for (z = 0; z < l_id_array.length; z++) {
237
- if (l_id_array[z] == wdid) {
238
- if (l_type_array[z] == "type_address") {
239
- if (document.getElementById(l_id + "_mini_label_street1")) {
240
- l_id_removed[l_id_array[z]] = false;
241
- }
242
- if (document.getElementById(l_id + "_mini_label_street2")) {
243
- l_id_removed[parseInt(l_id_array[z]) + 1] = false;
244
- }
245
- if (document.getElementById(l_id + "_mini_label_city")) {
246
- l_id_removed[parseInt(l_id_array[z]) + 2] = false;
247
- }
248
- if (document.getElementById(l_id + "_mini_label_state")) {
249
- l_id_removed[parseInt(l_id_array[z]) + 3] = false;
250
- }
251
- if (document.getElementById(l_id+"_mini_label_postal")) {
252
- l_id_removed[parseInt(l_id_array[z]) + 4] = false;
253
- }
254
- if (document.getElementById(l_id+"_mini_label_country")) {
255
- l_id_removed[parseInt(l_id_array[z]) + 5] = false;
256
- }
257
- z = z + 5;
258
- }
259
- else {
260
- l_id_removed[l_id] = false;
261
- }
262
  }
 
 
 
 
 
 
263
  }
264
  if (wdtype == "type_address") {
265
  addr_id = parseInt(wdid);
233
  l_label = document.getElementById(wdid + '_element_labelform_id_temp').innerHTML;
234
  l_label = l_label.replace(/(\r\n|\n|\r)/gm," ");
235
  wdtype = wdform_row.firstChild.getAttribute('type');
236
+ for (var z = 0; z < l_id_array.length; z++) {
237
+ if (l_type_array[z] == "type_address") {
238
+ if (document.getElementById(l_id + "_mini_label_street1") || document.getElementById(l_id + "_mini_label_street2") || document.getElementById(l_id + "_mini_label_city") || document.getElementById(l_id + "_mini_label_state") || document.getElementById(l_id+"_mini_label_postal") || document.getElementById(l_id+"_mini_label_country")) {
239
+ l_id_removed[l_id_array[z]] = false;
240
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
241
  }
242
+ else {
243
+ if (l_id_array[z] == wdid) {
244
+ l_id_removed[l_id] = false;
245
+ }
246
+ }
247
+
248
  }
249
  if (wdtype == "type_address") {
250
  addr_id = parseInt(wdid);
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.7.66
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -261,7 +261,7 @@ function register_fmemailverification_cpt(){
261
  // Activate plugin.
262
  function form_maker_activate() {
263
  $version = get_option("wd_form_maker_version");
264
- $new_version = '1.7.66';
265
  global $wpdb;
266
  if (!$version) {
267
  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.7.67
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
261
  // Activate plugin.
262
  function form_maker_activate() {
263
  $version = get_option("wd_form_maker_version");
264
+ $new_version = '1.7.67';
265
  global $wpdb;
266
  if (!$version) {
267
  add_option("wd_form_maker_version", $new_version, '', 'no');
frontend/views/FMViewForm_maker.php CHANGED
@@ -1102,16 +1102,18 @@ class FMViewForm_maker {
1102
  var rules = unescape("'.$param["w_regExp_value"].'");
1103
  ("'.$param["w_regExp_arg"].'".length <= 0) ? RegExpression = new RegExp(rules) : RegExpression = new RegExp(rules'.', "'.$param["w_regExp_arg"].'" );
1104
 
1105
- if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val().length > 0){
1106
- if (RegExpression.test(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()) != true)
1107
- {
1108
- alert( " '.$param["w_regExp_alert"].' ");
1109
- old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
1110
- x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
1111
- jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
1112
- jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
1113
- jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
1114
- return false;
 
 
1115
  }
1116
  }';
1117
  }
@@ -3721,10 +3723,8 @@ class FMViewForm_maker {
3721
  min: eval('.$param['w_field_min_value'].'),
3722
  max: eval('.$param['w_field_max_value'].'),
3723
  slide: function( event, ui ) {
3724
-
3725
- jQuery("#wdform_'.$id1.'_element_value'.$form_id.'").html("" + ui.value)
3726
- jQuery("#wdform_'.$id1.'_slider_value'.$form_id.'").val("" + ui.value)
3727
-
3728
  }
3729
  });
3730
  ';
1102
  var rules = unescape("'.$param["w_regExp_value"].'");
1103
  ("'.$param["w_regExp_arg"].'".length <= 0) ? RegExpression = new RegExp(rules) : RegExpression = new RegExp(rules'.', "'.$param["w_regExp_arg"].'" );
1104
 
1105
+ if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none") {
1106
+ if(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val().length > 0){
1107
+ if (RegExpression.test(jQuery("#wdform_'.$id1.'_element'.$form_id.'").val()) != true)
1108
+ {
1109
+ alert( " '.$param["w_regExp_alert"].' ");
1110
+ old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
1111
+ x.find(jQuery("div[wdid='.$id1.']")).effect( "shake", {}, 500 ).css("background-color","#FF8F8B").animate({backgroundColor: old_bg}, {duration: 500, queue: false });
1112
+ jQuery("#wdform_'.$id1.'_element'.$form_id.'").addClass( "form-error" );
1113
+ jQuery("#wdform_'.$id1.'_element'.$form_id.'").focus();
1114
+ jQuery("#wdform_'.$id1.'_element'.$form_id.'").change(function() { if( jQuery(this).val()!="" ) jQuery(this).removeClass("form-error"); else jQuery(this).addClass("form-error");});
1115
+ return false;
1116
+ }
1117
  }
1118
  }';
1119
  }
3723
  min: eval('.$param['w_field_min_value'].'),
3724
  max: eval('.$param['w_field_max_value'].'),
3725
  slide: function( event, ui ) {
3726
+ jQuery("#wdform_'.$id1.'_element_value'.$form_id.'").html("" + ui.value);
3727
+ jQuery("#wdform_'.$id1.'_slider_value'.$form_id.'").val("" + ui.value);
 
 
3728
  }
3729
  });
3730
  ';
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://web-dorado.com/products/wordpress-form.html
4
  Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form,contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, formular, formulario, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha
5
  Requires at least: 3.4
6
  Tested up to: 4.2
7
- Stable tag: 1.7.66
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -292,6 +292,11 @@ The Form Maker (Pro version) has simple PayPal integration. This allows the user
292
 
293
  == Changelog ==
294
 
 
 
 
 
 
295
  = 1.7.66 =
296
  Fixed: Bug in Undo/Rendo
297
 
4
  Tags: form, forms, form builder, form maker, form manager, form plugin, form with recaptcha, forms plugin, multiple forms, paypal form, survey form, feedback form, feedback forms, contact form,contact form plugin, contact form builder, form creator, email form, secure form, web form, form to email, contact forms, custom forms, form widget, captcha form, wordpress contact form ,recaptcha contact form, form creation, contact form with auto reply, widget contact form, builder, feedback, contacts form plugin , custom contact form, contact us form, formular, formulario, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha
5
  Requires at least: 3.4
6
  Tested up to: 4.2
7
+ Stable tag: 1.7.67
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
292
 
293
  == Changelog ==
294
 
295
+ = 1.7.67 =
296
+ Fixed: Bug in slider field
297
+ Fixed: Bug in address field
298
+ Fixed: Bug in mysql mapping
299
+
300
  = 1.7.66 =
301
  Fixed: Bug in Undo/Rendo
302