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

Version Description

Limited up to 7 fields to add Bug fixed

Download this release

Release Info

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

Code changes from version 1.7.48 to 1.7.49

admin/models/FMModelManage_fm.php CHANGED
@@ -328,8 +328,10 @@ class FMModelManage_fm {
328
  break;
329
  }
330
  case 'type_name': {
331
- $params_names = array('w_field_label_size', 'w_field_label_pos', 'w_first_val', 'w_title', 'w_mini_labels', 'w_size', 'w_name_format', 'w_required', 'w_unique', 'w_class', 'w_name_fields');
332
  $temp = $params;
 
 
333
  foreach ($params_names as $params_name) {
334
  $temp = explode('*:*' . $params_name . '*:*', $temp);
335
  $param[$params_name] = $temp[0];
@@ -348,7 +350,7 @@ class FMModelManage_fm {
348
  $w_title = explode('***', $param['w_title']);
349
  $w_mini_labels = explode('***', $param['w_mini_labels']);
350
 
351
- $param['w_name_fields'] = $param['w_name_fields']!='' ? $param['w_name_fields'] : ($param['w_name_format'] == 'normal' ? 'no***no' : 'yes***yes');
352
  $w_name_fields = explode('***', $param['w_name_fields']);
353
 
354
  $w_name_format = '<div id="'.$id.'_td_name_input_first" style="display: table-cell;"><input type="text" class="'.($w_first_val[0]==$w_title[0] ? "input_deactive" : "input_active").'" id="'.$id.'_element_firstform_id_temp" name="'.$id.'_element_firstform_id_temp" value="'.$w_first_val[0].'" title="'.$w_title[0].'" onfocus="delete_value(&quot;'.$id.'_element_firstform_id_temp&quot;)"onblur="return_value(&quot;'.$id.'_element_firstform_id_temp&quot;)" onchange="change_value(&quot;'.$id.'_element_firstform_id_temp&quot;)" style="margin-right: 10px; width: '.$param['w_size'].'px;"'.$param['attributes'].' disabled /></div><div id="'.$id.'_td_name_input_last" style="display: table-cell;"><input type="text" class="'.($w_first_val[1]==$w_title[1] ? "input_deactive" : "input_active").'" id="'.$id.'_element_lastform_id_temp" name="'.$id.'_element_lastform_id_temp" value="'.$w_first_val[1].'" title="'.$w_title[1].'" onfocus="delete_value(&quot;'.$id.'_element_lastform_id_temp&quot;)"onblur="return_value(&quot;'.$id.'_element_lastform_id_temp&quot;)" onchange="change_value(&quot;'.$id.'_element_lastform_id_temp&quot;)" style="margin-right: 10px; width: '.$param['w_size'].'px;" '.$param['attributes'].' disabled /></div>';
328
  break;
329
  }
330
  case 'type_name': {
331
+ $params_names = array('w_field_label_size', 'w_field_label_pos', 'w_first_val', 'w_title', 'w_mini_labels', 'w_size', 'w_name_format', 'w_required', 'w_unique', 'w_class');
332
  $temp = $params;
333
+ if(strpos($temp, 'w_name_fields') > -1)
334
+ $params_names = array('w_field_label_size', 'w_field_label_pos', 'w_first_val', 'w_title', 'w_mini_labels', 'w_size', 'w_name_format', 'w_required', 'w_unique', 'w_class', 'w_name_fields');
335
  foreach ($params_names as $params_name) {
336
  $temp = explode('*:*' . $params_name . '*:*', $temp);
337
  $param[$params_name] = $temp[0];
350
  $w_title = explode('***', $param['w_title']);
351
  $w_mini_labels = explode('***', $param['w_mini_labels']);
352
 
353
+ $param['w_name_fields'] = isset($param['w_name_fields']) ? $param['w_name_fields'] : ($param['w_name_format'] == 'normal' ? 'no***no' : 'yes***yes');
354
  $w_name_fields = explode('***', $param['w_name_fields']);
355
 
356
  $w_name_format = '<div id="'.$id.'_td_name_input_first" style="display: table-cell;"><input type="text" class="'.($w_first_val[0]==$w_title[0] ? "input_deactive" : "input_active").'" id="'.$id.'_element_firstform_id_temp" name="'.$id.'_element_firstform_id_temp" value="'.$w_first_val[0].'" title="'.$w_title[0].'" onfocus="delete_value(&quot;'.$id.'_element_firstform_id_temp&quot;)"onblur="return_value(&quot;'.$id.'_element_firstform_id_temp&quot;)" onchange="change_value(&quot;'.$id.'_element_firstform_id_temp&quot;)" style="margin-right: 10px; width: '.$param['w_size'].'px;"'.$param['attributes'].' disabled /></div><div id="'.$id.'_td_name_input_last" style="display: table-cell;"><input type="text" class="'.($w_first_val[1]==$w_title[1] ? "input_deactive" : "input_active").'" id="'.$id.'_element_lastform_id_temp" name="'.$id.'_element_lastform_id_temp" value="'.$w_first_val[1].'" title="'.$w_title[1].'" onfocus="delete_value(&quot;'.$id.'_element_lastform_id_temp&quot;)"onblur="return_value(&quot;'.$id.'_element_lastform_id_temp&quot;)" onchange="change_value(&quot;'.$id.'_element_lastform_id_temp&quot;)" style="margin-right: 10px; width: '.$param['w_size'].'px;" '.$param['attributes'].' disabled /></div>';
admin/views/FMViewSubmissions_fm.php CHANGED
@@ -1411,13 +1411,15 @@ class FMViewSubmissions_fm {
1411
 
1412
  break;
1413
  }
1414
- case 'type_name': {
1415
 
1416
  if($element_value =='')
1417
  $element_value = '@@@';
1418
 
1419
- $params_names=array('w_field_label_size','w_field_label_pos','w_first_val','w_title', 'w_mini_labels','w_size','w_name_format','w_required','w_unique', 'w_class', 'w_name_fields');
1420
- $temp=$params;
 
 
1421
 
1422
  foreach($params_names as $params_name ) {
1423
  $temp=explode('*:*'.$params_name.'*:*',$temp);
@@ -1434,7 +1436,7 @@ case 'type_name': {
1434
  }
1435
 
1436
  $w_mini_labels = explode('***',$param['w_mini_labels']);
1437
- $param['w_name_fields'] = $param['w_name_fields']!='' ? $param['w_name_fields'] : ($param['w_name_format'] == 'normal' ? 'no***no' : 'yes***yes');
1438
  $w_name_fields = explode('***', $param['w_name_fields']);
1439
  $element_value = explode('@@@', $element_value);
1440
 
1411
 
1412
  break;
1413
  }
1414
+ case 'type_name': {
1415
 
1416
  if($element_value =='')
1417
  $element_value = '@@@';
1418
 
1419
+ $params_names = array('w_field_label_size', 'w_field_label_pos', 'w_first_val', 'w_title', 'w_mini_labels', 'w_size', 'w_name_format', 'w_required', 'w_unique', 'w_class');
1420
+ $temp = $params;
1421
+ if(strpos($temp, 'w_name_fields') > -1)
1422
+ $params_names = array('w_field_label_size', 'w_field_label_pos', 'w_first_val', 'w_title', 'w_mini_labels', 'w_size', 'w_name_format', 'w_required', 'w_unique', 'w_class', 'w_name_fields');
1423
 
1424
  foreach($params_names as $params_name ) {
1425
  $temp=explode('*:*'.$params_name.'*:*',$temp);
1436
  }
1437
 
1438
  $w_mini_labels = explode('***',$param['w_mini_labels']);
1439
+ $param['w_name_fields'] = isset($param['w_name_fields']) ? $param['w_name_fields'] : ($param['w_name_format'] == 'normal' ? 'no***no' : 'yes***yes');
1440
  $w_name_fields = explode('***', $param['w_name_fields']);
1441
  $element_value = explode('@@@', $element_value);
1442
 
form-maker.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: Form Maker
4
  * Plugin URI: http://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.48
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -216,7 +216,7 @@ if (class_exists('WP_Widget')) {
216
  // Activate plugin.
217
  function form_maker_activate() {
218
  $version = get_option("wd_form_maker_version");
219
- $new_version = '1.7.48';
220
  if (!$version) {
221
  add_option("wd_form_maker_version", $new_version, '', 'no');
222
  global $wpdb;
3
  * Plugin Name: Form Maker
4
  * Plugin URI: http://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.49
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
216
  // Activate plugin.
217
  function form_maker_activate() {
218
  $version = get_option("wd_form_maker_version");
219
+ $new_version = '1.7.49';
220
  if (!$version) {
221
  add_option("wd_form_maker_version", $new_version, '', 'no');
222
  global $wpdb;
frontend/views/FMViewForm_maker.php CHANGED
@@ -1390,8 +1390,10 @@ class FMViewForm_maker {
1390
  }
1391
 
1392
  case 'type_name': {
1393
- $params_names=array('w_field_label_size','w_field_label_pos','w_first_val','w_title', 'w_mini_labels','w_size','w_name_format','w_required','w_unique', 'w_class', 'w_name_fields');
1394
- $temp=$params;
 
 
1395
  foreach($params_names as $params_name ) {
1396
  $temp=explode('*:*'.$params_name.'*:*',$temp);
1397
  $param[$params_name] = $temp[0];
@@ -1409,7 +1411,7 @@ class FMViewForm_maker {
1409
  $w_title = explode('***',$param['w_title']);
1410
 
1411
  $w_mini_labels = explode('***',$param['w_mini_labels']);
1412
- $param['w_name_fields'] = $param['w_name_fields']!='' ? $param['w_name_fields'] : ($param['w_name_format'] == 'normal' ? 'no***no' : 'yes***yes');
1413
  $w_name_fields = explode('***', $param['w_name_fields']);
1414
 
1415
  $element_title = isset($_POST['wdform_'.$id1.'_element_title'.$form_id]) ? esc_html(stripslashes($_POST['wdform_'.$id1.'_element_title'.$form_id])) : NULL;
1390
  }
1391
 
1392
  case 'type_name': {
1393
+ $params_names = array('w_field_label_size', 'w_field_label_pos', 'w_first_val', 'w_title', 'w_mini_labels', 'w_size', 'w_name_format', 'w_required', 'w_unique', 'w_class');
1394
+ $temp = $params;
1395
+ if(strpos($temp, 'w_name_fields') > -1)
1396
+ $params_names = array('w_field_label_size', 'w_field_label_pos', 'w_first_val', 'w_title', 'w_mini_labels', 'w_size', 'w_name_format', 'w_required', 'w_unique', 'w_class', 'w_name_fields');
1397
  foreach($params_names as $params_name ) {
1398
  $temp=explode('*:*'.$params_name.'*:*',$temp);
1399
  $param[$params_name] = $temp[0];
1411
  $w_title = explode('***',$param['w_title']);
1412
 
1413
  $w_mini_labels = explode('***',$param['w_mini_labels']);
1414
+ $param['w_name_fields'] = isset($param['w_name_fields']) ? $param['w_name_fields'] : ($param['w_name_format'] == 'normal' ? 'no***no' : 'yes***yes');
1415
  $w_name_fields = explode('***', $param['w_name_fields']);
1416
 
1417
  $element_title = isset($_POST['wdform_'.$id1.'_element_title'.$form_id]) ? esc_html(stripslashes($_POST['wdform_'.$id1.'_element_title'.$form_id])) : NULL;
js/formmaker_div_free.js CHANGED
@@ -3,7 +3,7 @@ var c;
3
  var need_enable=true;;
4
  var a = new Array();
5
  //var plugin_url = "";
6
- var count_of_fields_form = 9;
7
 
8
  if (ajaxurl.indexOf("://") != -1) {
9
  var url_for_ajax = ajaxurl;
@@ -27529,12 +27529,12 @@ function vorchjogen() {
27529
  is7++;
27530
  }
27531
  }
27532
- if (is7 >= 9) {
27533
  break;
27534
  }
27535
  }
27536
- if (is7 >= 9) {
27537
- alert("The free version is limited up to 9 fields to add. If you need this functionality, you need to buy the commercial version.");
27538
  return true;
27539
  }
27540
  return false;
3
  var need_enable=true;;
4
  var a = new Array();
5
  //var plugin_url = "";
6
+ var count_of_fields_form = 7;
7
 
8
  if (ajaxurl.indexOf("://") != -1) {
9
  var url_for_ajax = ajaxurl;
27529
  is7++;
27530
  }
27531
  }
27532
+ if (is7 >= 7) {
27533
  break;
27534
  }
27535
  }
27536
+ if (is7 >= 7) {
27537
+ alert("The free version is limited up to 7 fields to add. If you need this functionality, you need to buy the commercial version.");
27538
  return true;
27539
  }
27540
  return false;
js/formmaker_free.js CHANGED
@@ -3,7 +3,7 @@ j = 2;
3
  var c;
4
  var need_enable = true;
5
  var a = new Array();
6
- var count_of_fields_form = 9;
7
  if (ajaxurl.indexOf("://") != -1) {
8
  var url_for_ajax = ajaxurl;
9
  }
@@ -24923,12 +24923,12 @@ function add(key) {
24923
  page_nav_is = 0;
24924
  }
24925
  if (fields_count > (count_of_fields_form + page_nav_is)) {
24926
- alert("The free version is limited up to 9 fields to add. If you need this functionality, you need to buy the commercial version.");
24927
  return;
24928
  }
24929
  else {
24930
- if (count_of_fields_form > 9) {
24931
- alert("The free version is limited up to 9 fields to add. If you need this functionality, you need to buy the commercial version.");
24932
  return;
24933
  }
24934
  }
3
  var c;
4
  var need_enable = true;
5
  var a = new Array();
6
+ var count_of_fields_form = 7;
7
  if (ajaxurl.indexOf("://") != -1) {
8
  var url_for_ajax = ajaxurl;
9
  }
24923
  page_nav_is = 0;
24924
  }
24925
  if (fields_count > (count_of_fields_form + page_nav_is)) {
24926
+ alert("The free version is limited up to 7 fields to add. If you need this functionality, you need to buy the commercial version.");
24927
  return;
24928
  }
24929
  else {
24930
+ if (count_of_fields_form > 7) {
24931
+ alert("The free version is limited up to 7 fields to add. If you need this functionality, you need to buy the commercial version.");
24932
  return;
24933
  }
24934
  }
readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://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.48
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -56,7 +56,7 @@ Survey tools are also very convenient for adding rating systems for the posts, e
56
  * WordPress 3.0+
57
  * Multiple pre-installed sample forms
58
  * Responsive layout and design
59
- * Limited up to 9 fields to add
60
  * Twelve form fields with detailed parameters for creating forms
61
  * Custom HTML with standard editor
62
  * Text Input form fields (included 10 different types)
@@ -279,6 +279,10 @@ The Form Maker (Pro version) has simple PayPal integration. This allows the user
279
 
280
  == Changelog ==
281
 
 
 
 
 
282
  = 1.7.48 =
283
  bug in radio and matrix fields fixed
284
 
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.49
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
56
  * WordPress 3.0+
57
  * Multiple pre-installed sample forms
58
  * Responsive layout and design
59
+ * Limited up to 7 fields to add
60
  * Twelve form fields with detailed parameters for creating forms
61
  * Custom HTML with standard editor
62
  * Text Input form fields (included 10 different types)
279
 
280
  == Changelog ==
281
 
282
+ = 1.7.49 =
283
+ Limited up to 7 fields to add
284
+ Bug fixed
285
+
286
  = 1.7.48 =
287
  bug in radio and matrix fields fixed
288