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

Version Description

Changed: Reset button
Fixed: Bug with scrolling in new field pop up
Fixed: Bug in MySql mapping on firefox browser

Download this release

Release Info

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

Code changes from version 1.8.5 to 1.8.6

admin/views/FMViewFormMakerSQLMapping.php CHANGED
@@ -111,14 +111,14 @@ class FMViewFormMakerSQLMapping {
111
  jQuery("#fieldlist").hide();
112
  }
113
  });
114
- jQuery('.cols input[type="text"]').on('click', function() {
115
  event.stopPropagation();
116
  jQuery("#fieldlist").css("top",jQuery(this).offset().top+jQuery(this).height()+2);
117
  jQuery("#fieldlist").css("left",jQuery(this).offset().left);
118
  jQuery("#fieldlist").slideDown('fast');
119
  selected_field=this.id;
120
  });
121
- jQuery('#query_txt').click(function() {
122
  event.stopPropagation();
123
  jQuery("#fieldlist").css("top",jQuery(this).offset().top+jQuery(this).height()+2);
124
  jQuery("#fieldlist").css("left",jQuery(this).offset().left);
@@ -1095,7 +1095,7 @@ class FMViewFormMakerSQLMapping {
1095
  }
1096
  });
1097
 
1098
- jQuery('.cols input[type="text"]').on('click', function() {
1099
  event.stopPropagation();
1100
  jQuery("#fieldlist").css("top",jQuery(this).offset().top+jQuery(this).height()+2);
1101
  jQuery("#fieldlist").css("left",jQuery(this).offset().left);
@@ -1103,7 +1103,7 @@ class FMViewFormMakerSQLMapping {
1103
  selected_field=this.id;
1104
  });
1105
 
1106
- jQuery('#query_txt').click(function() {
1107
  event.stopPropagation();
1108
  jQuery("#fieldlist").css("top",jQuery(this).offset().top+jQuery(this).height()+2);
1109
  jQuery("#fieldlist").css("left",jQuery(this).offset().left);
111
  jQuery("#fieldlist").hide();
112
  }
113
  });
114
+ jQuery('.cols input[type="text"]').on('click', function(event) {
115
  event.stopPropagation();
116
  jQuery("#fieldlist").css("top",jQuery(this).offset().top+jQuery(this).height()+2);
117
  jQuery("#fieldlist").css("left",jQuery(this).offset().left);
118
  jQuery("#fieldlist").slideDown('fast');
119
  selected_field=this.id;
120
  });
121
+ jQuery('#query_txt').click(function(event) {
122
  event.stopPropagation();
123
  jQuery("#fieldlist").css("top",jQuery(this).offset().top+jQuery(this).height()+2);
124
  jQuery("#fieldlist").css("left",jQuery(this).offset().left);
1095
  }
1096
  });
1097
 
1098
+ jQuery('.cols input[type="text"]').on('click', function(event) {
1099
  event.stopPropagation();
1100
  jQuery("#fieldlist").css("top",jQuery(this).offset().top+jQuery(this).height()+2);
1101
  jQuery("#fieldlist").css("left",jQuery(this).offset().left);
1103
  selected_field=this.id;
1104
  });
1105
 
1106
+ jQuery('#query_txt').click(function(event) {
1107
  event.stopPropagation();
1108
  jQuery("#fieldlist").css("top",jQuery(this).offset().top+jQuery(this).height()+2);
1109
  jQuery("#fieldlist").css("left",jQuery(this).offset().left);
admin/views/FMViewManage_fm.php CHANGED
@@ -359,9 +359,7 @@ class FMViewManage_fm {
359
  else {
360
  jQuery('#formMakerDiv').slideToggle(400);
361
  }
362
- if (document.getElementById('formMakerDiv').offsetWidth) {
363
- document.getElementById('formMakerDiv1').style.width = (document.getElementById('formMakerDiv').offsetWidth - 60) + 'px';
364
- }
365
  if (document.getElementById('formMakerDiv1').style.display == 'block') {
366
  jQuery('#formMakerDiv1').slideToggle(200);
367
  }
@@ -382,9 +380,7 @@ class FMViewManage_fm {
382
  else {
383
  jQuery('#formMakerDiv').slideToggle(400);
384
  }
385
- if (document.getElementById('formMakerDiv').offsetWidth) {
386
- document.getElementById('formMakerDiv1').style.width = (document.getElementById('formMakerDiv').offsetWidth - 60) + 'px';
387
- }
388
  if (document.getElementById('formMakerDiv1').style.display == 'block') {
389
  jQuery('#formMakerDiv1').slideToggle(200);
390
  }
@@ -1398,9 +1394,7 @@ class FMViewManage_fm {
1398
  else {
1399
  jQuery('#formMakerDiv').slideToggle(400);
1400
  }
1401
- if (document.getElementById('formMakerDiv').offsetWidth) {
1402
- document.getElementById('formMakerDiv1').style.width = (document.getElementById('formMakerDiv').offsetWidth - 60) + 'px';
1403
- }
1404
  if (document.getElementById('formMakerDiv1').style.display == 'block') {
1405
  jQuery('#formMakerDiv1').slideToggle(200);
1406
  }
@@ -1421,9 +1415,7 @@ class FMViewManage_fm {
1421
  else {
1422
  jQuery('#formMakerDiv').slideToggle(400);
1423
  }
1424
- if (document.getElementById('formMakerDiv').offsetWidth) {
1425
- document.getElementById('formMakerDiv1').style.width = (document.getElementById('formMakerDiv').offsetWidth - 60) + 'px';
1426
- }
1427
  if (document.getElementById('formMakerDiv1').style.display == 'block') {
1428
  jQuery('#formMakerDiv1').slideToggle(200);
1429
  }
359
  else {
360
  jQuery('#formMakerDiv').slideToggle(400);
361
  }
362
+
 
 
363
  if (document.getElementById('formMakerDiv1').style.display == 'block') {
364
  jQuery('#formMakerDiv1').slideToggle(200);
365
  }
380
  else {
381
  jQuery('#formMakerDiv').slideToggle(400);
382
  }
383
+
 
 
384
  if (document.getElementById('formMakerDiv1').style.display == 'block') {
385
  jQuery('#formMakerDiv1').slideToggle(200);
386
  }
1394
  else {
1395
  jQuery('#formMakerDiv').slideToggle(400);
1396
  }
1397
+
 
 
1398
  if (document.getElementById('formMakerDiv1').style.display == 'block') {
1399
  jQuery('#formMakerDiv1').slideToggle(200);
1400
  }
1415
  else {
1416
  jQuery('#formMakerDiv').slideToggle(400);
1417
  }
1418
+
 
 
1419
  if (document.getElementById('formMakerDiv1').style.display == 'block') {
1420
  jQuery('#formMakerDiv1').slideToggle(200);
1421
  }
css/form_maker_tables.css CHANGED
@@ -80,6 +80,9 @@ fieldset select {
80
  display: none;
81
  margin-left: 30px;
82
  margin-top: 12px;
 
 
 
83
  }
84
 
85
  .formMakerDiv1_table {
80
  display: none;
81
  margin-left: 30px;
82
  margin-top: 12px;
83
+ height: 93%;
84
+ overflow-y: scroll;
85
+ width:95%;
86
  }
87
 
88
  .formMakerDiv1_table {
css/style.css CHANGED
@@ -14,7 +14,7 @@ textarea[readonly] {
14
  #edit_table {
15
  padding:0px;
16
  overflow-y:scroll;
17
- height:575px;
18
  }
19
 
20
  #edit_table .fm-label {
14
  #edit_table {
15
  padding:0px;
16
  overflow-y:scroll;
17
+ height: 100%;
18
  }
19
 
20
  #edit_table .fm-label {
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.8.5
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -269,7 +269,7 @@ function register_fmemailverification_cpt(){
269
  // Activate plugin.
270
  function form_maker_activate() {
271
  $version = get_option("wd_form_maker_version");
272
- $new_version = '1.8.5';
273
  global $wpdb;
274
  if (!$version) {
275
  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.8.6
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
269
  // Activate plugin.
270
  function form_maker_activate() {
271
  $version = get_option("wd_form_maker_version");
272
+ $new_version = '1.8.6';
273
  global $wpdb;
274
  if (!$version) {
275
  add_option("wd_form_maker_version", $new_version, '', 'no');
frontend/views/FMViewForm_maker.php CHANGED
@@ -4104,6 +4104,7 @@ class FMViewForm_maker {
4104
  $form_maker_front_end .= '</form>';
4105
  ?>
4106
  <script type="text/javascript">
 
4107
  WDF_GRADING_TEXT ='<?php echo addslashes(__("Your score should be less than", 'form_maker')); ?>';
4108
  WDF_INVALID_GRADING_<?php echo $id; ?> = '<?php echo addslashes(sprintf(__("Your score should be less than", 'form_maker'), '`grading_label`', '`grading_total`')); ?>';
4109
  FormCurrency_<?php echo $id; ?> = '<?php echo $form_currency ?>';
@@ -4219,7 +4220,124 @@ class FMViewForm_maker {
4219
  if (window.before_reset) {
4220
  before_reset();
4221
  }
4222
- window.location = "<?php echo $current_url ?>";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4223
  return;
4224
  }
4225
  if (window.before_submit) {
4104
  $form_maker_front_end .= '</form>';
4105
  ?>
4106
  <script type="text/javascript">
4107
+ var plugin_url = "<?php echo WD_FM_URL; ?>";
4108
  WDF_GRADING_TEXT ='<?php echo addslashes(__("Your score should be less than", 'form_maker')); ?>';
4109
  WDF_INVALID_GRADING_<?php echo $id; ?> = '<?php echo addslashes(sprintf(__("Your score should be less than", 'form_maker'), '`grading_label`', '`grading_total`')); ?>';
4110
  FormCurrency_<?php echo $id; ?> = '<?php echo $form_currency ?>';
4220
  if (window.before_reset) {
4221
  before_reset();
4222
  }
4223
+ var types = <?php echo json_encode($types) ?>;
4224
+ var label_ids = <?php echo json_encode($id1s) ?>;
4225
+ jQuery.each(types, function (index, elem) {
4226
+ switch(elem) {
4227
+ case "type_text":
4228
+ case "type_password":
4229
+ case "type_textarea":
4230
+ case "type_number":
4231
+ case "type_submitter_mail":
4232
+ case "type_spinner":
4233
+ case 'type_own_select':
4234
+ case 'type_country':
4235
+ case 'type_date':
4236
+ case 'type_hidden':
4237
+ jQuery("#wdform_"+label_ids[index]+"_element<?php echo $id ?>").val('');
4238
+ break;
4239
+
4240
+ case 'type_send_copy':
4241
+ jQuery("#wdform_"+label_ids[index]+"_element<?php echo $id ?>").prop('checked', false);
4242
+ break;
4243
+ case 'type_phone':
4244
+ jQuery("#wdform_"+label_ids[index]+"_element_first<?php echo $id ?>, #wdform_"+label_ids[index]+"_element_last<?php echo $id ?>").val('');
4245
+ break;
4246
+
4247
+ case 'type_name':
4248
+ jQuery("#wdform_"+label_ids[index]+"_element_first<?php echo $id ?>, #wdform_"+label_ids[index]+"_element_last<?php echo $id ?>, #wdform_"+label_ids[index]+"_element_title<?php echo $id ?>, #wdform_"+label_ids[index]+"_element_middle<?php echo $id ?>").val('');
4249
+ break;
4250
+
4251
+ case 'type_address':
4252
+ jQuery("#wdform_"+label_ids[index]+"_street1<?php echo $id ?>, #wdform_"+label_ids[index]+"_street2<?php echo $id ?>, #wdform_"+label_ids[index]+"_city<?php echo $id ?>, #wdform_"+label_ids[index]+"_state<?php echo $id ?>, #wdform_"+label_ids[index]+"_postal<?php echo $id ?>, #wdform_"+label_ids[index]+"_country<?php echo $id ?>").val('');
4253
+ break;
4254
+
4255
+ case 'type_checkbox':
4256
+ jQuery("#form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .checkbox-div input").prop('checked', false);
4257
+ jQuery("#wdform_"+label_ids[index]+"_other_br<?php echo $id ?>").remove();
4258
+ jQuery("#wdform_"+label_ids[index]+"_other_input<?php echo $id ?>").remove();
4259
+ break;
4260
+
4261
+ case 'type_radio':
4262
+ jQuery("#form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .radio-div input").prop('checked', false);
4263
+ jQuery("#wdform_"+label_ids[index]+"_other_br<?php echo $id ?>").remove();
4264
+ jQuery("#wdform_"+label_ids[index]+"_other_input<?php echo $id ?>").remove();
4265
+ break;
4266
+
4267
+ case 'type_time':
4268
+ jQuery("#wdform_"+label_ids[index]+"_hh<?php echo $id ?>, #wdform_"+label_ids[index]+"_mm<?php echo $id ?>, #wdform_"+label_ids[index]+"_ss<?php echo $id ?>, #wdform_"+label_ids[index]+"_am_pm<?php echo $id ?>").val('');
4269
+ break;
4270
+
4271
+ case 'type_date_fields':
4272
+ jQuery("#wdform_"+label_ids[index]+"_day<?php echo $id ?>, #wdform_"+label_ids[index]+"_month<?php echo $id ?>, #wdform_"+label_ids[index]+"_year<?php echo $id ?>").val('');
4273
+ break;
4274
+
4275
+ case 'type_file_upload':
4276
+ jQuery("#wdform_"+label_ids[index]+"_element<?php echo $id ?>_save").remove();
4277
+ break;
4278
+
4279
+ case 'type_paypal_price':
4280
+ jQuery("#wdform_"+label_ids[index]+"_element_dollars<?php echo $id ?>, #wdform_"+label_ids[index]+"_element_cents<?php echo $id ?>").val('');
4281
+ break;
4282
+
4283
+ case 'type_paypal_select':
4284
+ jQuery("#wdform_"+label_ids[index]+"_element<?php echo $id ?>, #wdform_"+label_ids[index]+"_element_quantity<?php echo $id ?>, #form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .paypal-property select").val('');
4285
+ break;
4286
+
4287
+ case 'type_paypal_radio':
4288
+ jQuery("#wdform_"+label_ids[index]+"_element_quantity<?php echo $id ?>,#form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .paypal-property select").val('');
4289
+ jQuery("#form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .radio-div input").prop('checked', false);
4290
+ break;
4291
+
4292
+ case 'type_paypal_shipping':
4293
+ jQuery("#form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .radio-div input").prop('checked', false);
4294
+ break;
4295
+
4296
+ case 'type_paypal_checkbox':
4297
+ jQuery("#wdform_"+label_ids[index]+"_element_quantity<?php echo $id ?>,#form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .paypal-property select").val('');
4298
+ jQuery("#form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .checkbox-div input").prop('checked', false);
4299
+ break;
4300
+
4301
+ case 'type_star_rating':
4302
+ jQuery("#wdform_"+label_ids[index]+"_selected_star_amount<?php echo $id ?>").val('');
4303
+ jQuery("#wdform_"+label_ids[index]+"_element<?php echo $id ?> img").attr('src', plugin_url+'/images/star.png');
4304
+ break;
4305
+
4306
+ case 'type_scale_rating':
4307
+ jQuery("#form<?php echo $id ?> div[wdid='"+label_ids[index]+"'] .radio-div input").prop('checked', false);
4308
+ break;
4309
+
4310
+ case 'type_slider':
4311
+ jQuery("#wdform_"+label_ids[index]+"_element<?php echo $id ?>").slider({
4312
+ value: eval(0),
4313
+ });
4314
+ jQuery("#wdform_"+label_ids[index]+"_element_value<?php echo $id ?>").html('0');
4315
+ break;
4316
+
4317
+ case 'type_range':
4318
+ jQuery("#wdform_"+label_ids[index]+"_element<?php echo $id ?>0, #wdform_"+label_ids[index]+"_element<?php echo $id ?>1").val('');
4319
+ break;
4320
+
4321
+ case 'type_grading':
4322
+ jQuery("#wdform_"+label_ids[index]+"_element<?php echo $id ?> input").val('');
4323
+ break;
4324
+
4325
+ case 'type_matrix':
4326
+ jQuery("#wdform_"+label_ids[index]+"_element<?php echo $id ?> .radio-div input").prop('checked', false);
4327
+ jQuery("#wdform_"+label_ids[index]+"_element<?php echo $id ?> .checkbox-div input").prop('checked', false);
4328
+ jQuery("#wdform_"+label_ids[index]+"_element<?php echo $id ?> input[type='text']").val('');
4329
+ jQuery("#wdform_"+label_ids[index]+"_element<?php echo $id ?> select").val('');
4330
+ break;
4331
+
4332
+ case 'type_paypal_total':
4333
+ jQuery("#wdform_"+label_ids[index]+"div_total<?php echo $id ?>").html('$0');
4334
+ jQuery("#wdform_"+label_ids[index]+"paypal_products<?php echo $id ?>").empty();
4335
+ break;
4336
+ default:
4337
+ break;
4338
+ }
4339
+ });
4340
+
4341
  return;
4342
  }
4343
  if (window.before_submit) {
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, pdf, mysql
5
  Requires at least: 3.4
6
  Tested up to: 4.4
7
- Stable tag: 1.8.5
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -300,6 +300,11 @@ The Form Maker (Pro version) has simple PayPal integration. This allows the user
300
 
301
  == Changelog ==
302
 
 
 
 
 
 
303
  = 1.8.5 =
304
  Fixed: Bug in mysql mapping.
305
  Changed: Featured themes page.
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, pdf, mysql
5
  Requires at least: 3.4
6
  Tested up to: 4.4
7
+ Stable tag: 1.8.6
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
300
 
301
  == Changelog ==
302
 
303
+ = 1.8.6 =
304
+ Changed: Reset button
305
+ Fixed: Bug with scrolling in new field pop up
306
+ Fixed: Bug in MySql mapping on firefox browser
307
+
308
  = 1.8.5 =
309
  Fixed: Bug in mysql mapping.
310
  Changed: Featured themes page.