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

Version Description

Download this release

Release Info

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

Code changes from version 1.7.14 to 1.7.15

css/form_maker_frontend.css CHANGED
@@ -2,10 +2,6 @@
2
  width: inherit !important;
3
  }
4
 
5
- div.wdform-element-section {
6
- width: initial !important;
7
- }
8
-
9
  .radio-div,
10
  .radio-div *,
11
  .checkbox-div,
2
  width: inherit !important;
3
  }
4
 
 
 
 
 
5
  .radio-div,
6
  .radio-div *,
7
  .checkbox-div,
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.14
7
  * Author: http://web-dorado.com/
8
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
@@ -357,12 +357,4 @@ function form_maker_language_load() {
357
  }
358
  add_action('init', 'form_maker_language_load');
359
 
360
- function form_maker_sesseion_path() {
361
- if (session_id() == '' || (function_exists('session_status') && (session_status() == PHP_SESSION_NONE))) {
362
- @session_start();
363
- }
364
- session_save_path(WD_FM_DIR . '/session');
365
- }
366
- add_action('init', 'form_maker_sesseion_path');
367
-
368
- ?>
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.15
7
  * Author: http://web-dorado.com/
8
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
9
  */
357
  }
358
  add_action('init', 'form_maker_language_load');
359
 
360
+ ?>
 
 
 
 
 
 
 
 
frontend/models/FMModelForm_maker.php CHANGED
@@ -1854,14 +1854,14 @@ class FMModelForm_maker {
1854
  $replyto = $row->reply_to_user;
1855
  }
1856
  $attachment_user = array();
1857
- if($row->mail_attachment_user) {
1858
- for($k=0; $k<count($all_files); $k++) {
1859
- if(isset($all_files[$k]['tmp_name'][$k])) {
1860
- $attachment_user[k]=$all_files[$k]['tmp_name'];
1861
  }
1862
  }
1863
  }
1864
- if($row->mail_mode_user) {
1865
  $content_type = "text/html";
1866
  $mode = 1;
1867
  $list_user = wordwrap($list, 70, "\n", true);
@@ -1967,14 +1967,15 @@ class FMModelForm_maker {
1967
  $fromname = $row->from_mail;
1968
  }
1969
  $attachment = array();
1970
- if($row->mail_attachment) {
1971
- for($k=0;$k<count($all_files);$k++) {
1972
- if(isset($all_files[$k]['tmp_name'][$k]))
1973
- $attachment[k]=$all_files[$k]['tmp_name'];
 
1974
  }
1975
  }
1976
 
1977
- if($row->mail_mode) {
1978
  $content_type = "text/html";
1979
  $mode = 1;
1980
  $list = wordwrap($list, 70, "\n", true);
1854
  $replyto = $row->reply_to_user;
1855
  }
1856
  $attachment_user = array();
1857
+ if ($row->mail_attachment_user) {
1858
+ for ($k = 0; $k < count($all_files); $k++) {
1859
+ if (isset($all_files[$k]['tmp_name'])) {
1860
+ $attachment_user[$k]=$all_files[$k]['tmp_name'];
1861
  }
1862
  }
1863
  }
1864
+ if ($row->mail_mode_user) {
1865
  $content_type = "text/html";
1866
  $mode = 1;
1867
  $list_user = wordwrap($list, 70, "\n", true);
1967
  $fromname = $row->from_mail;
1968
  }
1969
  $attachment = array();
1970
+ if ($row->mail_attachment) {
1971
+ for ($k = 0; $k < count($all_files); $k++) {
1972
+ if (isset($all_files[$k]['tmp_name'])) {
1973
+ $attachment[$k] = $all_files[$k]['tmp_name'];
1974
+ }
1975
  }
1976
  }
1977
 
1978
+ if ($row->mail_mode) {
1979
  $content_type = "text/html";
1980
  $mode = 1;
1981
  $list = wordwrap($list, 70, "\n", true);
frontend/views/FMViewForm_maker.php CHANGED
@@ -1691,7 +1691,7 @@ class FMViewForm_maker {
1691
  if($required) {
1692
  $rep.='<span class="wdform-required">'.$required_sym.'</span>';
1693
  }
1694
- $rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].';"><input type="text" value="'.$param['w_date'].'" class="wdform-date" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" maxlength="10" '.$param['attributes'].'><input id="wdform_'.$id1.'_button'.$form_id.'" class="wdform-calendar-button" type="reset" value="'.$param['w_but_val'].'" format="'.$param['w_format'].'" onclick="return showCalendar(\'wdform_'.$id1.'_element'.$form_id.'\' , \'%Y-%m-%d\')" '.$param['attributes'].' ></div></div>';
1695
 
1696
  if($required) {
1697
  $check_js.='
@@ -3193,18 +3193,9 @@ class FMViewForm_maker {
3193
  }
3194
  }
3195
 
3196
- function formAddToOnload<?php echo $id ?>() {
3197
- if (formOldFunctionOnLoad<?php echo $id ?>) {
3198
- formOldFunctionOnLoad<?php echo $id ?>();
3199
- }
3200
  formOnload<?php echo $id ?>();
3201
- }
3202
- function formLoadBody<?php echo $id ?>() {
3203
- formOldFunctionOnLoad<?php echo $id ?> = window.onload;
3204
- window.onload = formAddToOnload<?php echo $id ?>;
3205
- }
3206
- var formOldFunctionOnLoad<?php echo $id ?> = null;
3207
- formLoadBody<?php echo $id ?>();
3208
 
3209
  form_view_count<?php echo $id ?>=0;
3210
  jQuery(document).ready(function () {
@@ -3528,18 +3519,9 @@ class FMViewForm_maker {
3528
  }
3529
  }';
3530
  $form_maker_front_end .= '
3531
- function formAddToOnload' . $id . '() {
3532
- if (formOldFunctionOnLoad' . $id . ') {
3533
- formOldFunctionOnLoad' . $id . '();
3534
- }
3535
  formOnload' . $id . '();
3536
- }
3537
- function formLoadBody' . $id . '() {
3538
- formOldFunctionOnLoad' . $id . ' = window.onload;
3539
- window.onload = formAddToOnload' . $id . ';
3540
- }
3541
- var formOldFunctionOnLoad' . $id . ' = null;
3542
- formLoadBody' . $id . '();';
3543
  if (isset($_POST["counter" . $id])) {
3544
  $counter = esc_html($_POST["counter" . $id]);
3545
  }
1691
  if($required) {
1692
  $rep.='<span class="wdform-required">'.$required_sym.'</span>';
1693
  }
1694
+ $rep.='</div><div class="wdform-element-section '.$param['w_class'].'" style="'.$param['w_field_label_pos2'].';"><input type="text" value="'.$param['w_date'].'" class="wdform-date" id="wdform_'.$id1.'_element'.$form_id.'" name="wdform_'.$id1.'_element'.$form_id.'" maxlength="10" '.$param['attributes'].'><input id="wdform_'.$id1.'_button'.$form_id.'" class="wdform-calendar-button" type="reset" value="'.$param['w_but_val'].'" format="'.$param['w_format'].'" onclick="return showCalendar(\'wdform_'.$id1.'_element'.$form_id.'\' , \''.$param['w_format'].'\')" '.$param['attributes'].' ></div></div>';
1695
 
1696
  if($required) {
1697
  $check_js.='
3193
  }
3194
  }
3195
 
3196
+ jQuery(window).load(function () {
 
 
 
3197
  formOnload<?php echo $id ?>();
3198
+ });
 
 
 
 
 
 
3199
 
3200
  form_view_count<?php echo $id ?>=0;
3201
  jQuery(document).ready(function () {
3519
  }
3520
  }';
3521
  $form_maker_front_end .= '
3522
+ jQuery(window).load(function () {
 
 
 
3523
  formOnload' . $id . '();
3524
+ });';
 
 
 
 
 
 
3525
  if (isset($_POST["counter" . $id])) {
3526
  $counter = esc_html($_POST["counter" . $id]);
3527
  }
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
5
  Requires at least: 3.0
6
  Tested up to: 3.9.1
7
- Stable tag: 1.7.14
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -109,8 +109,9 @@ Survey tools are also very convenient for adding rating systems for the posts, e
109
  * Possibility to have pre-filled texts serving as instructions for the textarea and other text fields.
110
  * Date picker in the form of drop-down menu for easier date selection.
111
  * Submissions section displays the amount of entries, as well as views and conversion rate for each separate form.
112
- * Conditional fileds.
113
-
 
114
  Upgrade to [WordPress Form Maker Pro](http://web-dorado.com/products/wordpress-form.html) to add features:
115
 
116
  * unlimited number of form fields
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
5
  Requires at least: 3.0
6
  Tested up to: 3.9.1
7
+ Stable tag: 1.7.15
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
109
  * Possibility to have pre-filled texts serving as instructions for the textarea and other text fields.
110
  * Date picker in the form of drop-down menu for easier date selection.
111
  * Submissions section displays the amount of entries, as well as views and conversion rate for each separate form.
112
+ * Conditional fileds.
113
+ * CC and BCC mail options for sending out the submitted form
114
+
115
  Upgrade to [WordPress Form Maker Pro](http://web-dorado.com/products/wordpress-form.html) to add features:
116
 
117
  * unlimited number of form fields