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

Version Description

minor bugs 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.50
Comparing to
See all releases

Code changes from version 1.7.49 to 1.7.50

admin/models/FMModelManage_fm.php CHANGED
@@ -1029,8 +1029,10 @@ ngdom</option><option value="United States">United States</option><option value=
1029
  }
1030
  case 'type_date':
1031
  {
1032
- $params_names=array('w_field_label_size','w_field_label_pos','w_date','w_required','w_class','w_format','w_but_val', 'w_disable_past_days');
1033
- $temp=$params;
 
 
1034
  foreach($params_names as $params_name )
1035
  {
1036
  $temp=explode('*:*'.$params_name.'*:*',$temp);
1029
  }
1030
  case 'type_date':
1031
  {
1032
+ $params_names=array('w_field_label_size','w_field_label_pos','w_date','w_required','w_class','w_format','w_but_val');
1033
+ $temp = $params;
1034
+ if(strpos($temp, 'w_disable_past_days') > -1)
1035
+ $params_names = array('w_field_label_size','w_field_label_pos','w_date','w_required','w_class','w_format','w_but_val', 'w_disable_past_days');
1036
  foreach($params_names as $params_name )
1037
  {
1038
  $temp=explode('*:*'.$params_name.'*:*',$temp);
admin/views/FMViewSubmissions_fm.php CHANGED
@@ -2445,7 +2445,9 @@ class FMViewSubmissions_fm {
2445
 
2446
  case 'type_date': {
2447
  $params_names=array('w_field_label_size','w_field_label_pos','w_date','w_required','w_class','w_format','w_but_val');
2448
- $temp=$params;
 
 
2449
 
2450
  foreach($params_names as $params_name ) {
2451
  $temp=explode('*:*'.$params_name.'*:*',$temp);
2445
 
2446
  case 'type_date': {
2447
  $params_names=array('w_field_label_size','w_field_label_pos','w_date','w_required','w_class','w_format','w_but_val');
2448
+ $temp = $params;
2449
+ if(strpos($temp, 'w_disable_past_days') > -1)
2450
+ $params_names = array('w_field_label_size','w_field_label_pos','w_date','w_required','w_class','w_format','w_but_val', 'w_disable_past_days');
2451
 
2452
  foreach($params_names as $params_name ) {
2453
  $temp=explode('*:*'.$params_name.'*:*',$temp);
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.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,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.49';
220
  if (!$version) {
221
  add_option("wd_form_maker_version", $new_version, '', 'no');
222
  global $wpdb;
@@ -235,7 +235,7 @@ function form_maker_activate() {
235
  'post_status' => 'publish',
236
  'post_author' => 1,
237
  );
238
- $mail_verification_post_id = wp_insert_post( $email_verification_post, $wp_error );
239
  $wpdb->update($wpdb->prefix . "formmaker", array(
240
  'mail_verification_post_id' => $mail_verification_post_id,
241
  ), array('id' => 1), array(
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.50
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.50';
220
  if (!$version) {
221
  add_option("wd_form_maker_version", $new_version, '', 'no');
222
  global $wpdb;
235
  'post_status' => 'publish',
236
  'post_author' => 1,
237
  );
238
+ $mail_verification_post_id = wp_insert_post( $email_verification_post );
239
  $wpdb->update($wpdb->prefix . "formmaker", array(
240
  'mail_verification_post_id' => $mail_verification_post_id,
241
  ), array('id' => 1), array(
frontend/views/FMViewForm_maker.php CHANGED
@@ -1493,7 +1493,7 @@ class FMViewForm_maker {
1493
  $check_js.='
1494
  if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
1495
  {
1496
- if(jQuery("#wdform_'.$id1.'_element_first'.$form_id.'").val()=="'.$w_title[0].'" || jQuery("#wdform_'.$id1.'_element_first'.$form_id.'").val()=="" || jQuery("#wdform_'.$id1.'_element_last'.$form_id.'").val()=="'.$w_title[1].'" || jQuery("#wdform_'.$id1.'_element_last'.$form_id.'").val()=="" || (jQuery("#wdform_'.$id1.'_element_title'.$form_id.'").length != 0 && (jQuery("#wdform_'.$id1.'_element_title'.$form_id.'").val()=="'.$w_title[2].'" || jQuery("#wdform_'.$id1.'_element_title'.$form_id.'").val()=="")) || (jQuery("#wdform_'.$id1.'_element_middle'.$form_id.'").length != 0 && (jQuery("#wdform_'.$id1.'_element_middle'.$form_id.'").val()=="'.$w_title[3].'" || jQuery("#wdform_'.$id1.'_element_middle'.$form_id.'").val()=="")))
1497
  {
1498
  alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
1499
  old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
@@ -2298,8 +2298,10 @@ class FMViewForm_maker {
2298
  }
2299
 
2300
  case 'type_date': {
2301
- $params_names=array('w_field_label_size','w_field_label_pos','w_date','w_required','w_class','w_format','w_but_val','w_disable_past_days');
2302
- $temp=$params;
 
 
2303
 
2304
  foreach($params_names as $params_name ) {
2305
  $temp=explode('*:*'.$params_name.'*:*',$temp);
1493
  $check_js.='
1494
  if(x.find(jQuery("div[wdid='.$id1.']")).length != 0 && x.find(jQuery("div[wdid='.$id1.']")).css("display") != "none")
1495
  {
1496
+ if(jQuery("#wdform_'.$id1.'_element_first'.$form_id.'").val()=="'.$w_title[0].'" || jQuery("#wdform_'.$id1.'_element_first'.$form_id.'").val()=="" || jQuery("#wdform_'.$id1.'_element_last'.$form_id.'").val()=="'.$w_title[1].'" || jQuery("#wdform_'.$id1.'_element_last'.$form_id.'").val()=="" || (jQuery("#wdform_'.$id1.'_element_title'.$form_id.'").length != 0 && (jQuery("#wdform_'.$id1.'_element_title'.$form_id.'").val()=="'.(isset($w_title[2]) ? $w_title[2] : '').'" || jQuery("#wdform_'.$id1.'_element_title'.$form_id.'").val()=="")) || (jQuery("#wdform_'.$id1.'_element_middle'.$form_id.'").length != 0 && (jQuery("#wdform_'.$id1.'_element_middle'.$form_id.'").val()=="'.(isset($w_title[3]) ? $w_title[3] : '').'" || jQuery("#wdform_'.$id1.'_element_middle'.$form_id.'").val()=="")))
1497
  {
1498
  alert("' .addslashes($label. ' ' . __('field is required.', 'form_maker')) . '");
1499
  old_bg=x.find(jQuery("div[wdid='.$id1.']")).css("background-color");
2298
  }
2299
 
2300
  case 'type_date': {
2301
+ $params_names=array('w_field_label_size','w_field_label_pos','w_date','w_required','w_class','w_format','w_but_val');
2302
+ $temp = $params;
2303
+ if(strpos($temp, 'w_disable_past_days') > -1)
2304
+ $params_names = array('w_field_label_size','w_field_label_pos','w_date','w_required','w_class','w_format','w_but_val', 'w_disable_past_days');
2305
 
2306
  foreach($params_names as $params_name ) {
2307
  $temp=explode('*:*'.$params_name.'*:*',$temp);
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.49
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -279,6 +279,9 @@ The Form Maker (Pro version) has simple PayPal integration. This allows the user
279
 
280
  == Changelog ==
281
 
 
 
 
282
  = 1.7.49 =
283
  Limited up to 7 fields to add
284
  Bug fixed
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.50
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
279
 
280
  == Changelog ==
281
 
282
+ = 1.7.50 =
283
+ minor bugs fixed
284
+
285
  = 1.7.49 =
286
  Limited up to 7 fields to add
287
  Bug fixed