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

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.32
Comparing to
See all releases

Code changes from version 1.7.31 to 1.7.32

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.31
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
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.32
7
  * Author: WebDorado
8
  * Author URI: http://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
frontend/views/FMViewForm_maker.php CHANGED
@@ -23,6 +23,9 @@ class FMViewForm_maker {
23
  // Public Methods //
24
  ////////////////////////////////////////////////////////////////////////////////////////
25
  public function display($id) {
 
 
 
26
  $form_maker_front_end = "";
27
  $result = $this->model->showform($id);
28
  if (!$result) {
@@ -121,7 +124,7 @@ class FMViewForm_maker {
121
  $form_currency = $currency_sign[array_search($row->payment_currency, $currency_code)];
122
  }
123
  $form_paypal_tax = $row->tax;
124
- $form_maker_front_end .= '<form name="form' . $id . '" action="' . $_SERVER['REQUEST_URI'] . '" method="post" id="form' . $id . '" class="form' . $id . '" enctype="multipart/form-data" onsubmit="check_required(\'submit\', \'' . $id . '\'); return false;">
125
  <div id="' . $id . 'pages" class="wdform_page_navigation" show_title="' . $row->show_title . '" show_numbers="' . $row->show_numbers . '" type="' . $row->pagination . '"></div>
126
  <input type="hidden" id="counter' . $id . '" value="' . $row->counter . '" name="counter' . $id . '" />
127
  <input type="hidden" id="Itemid' . $id . '" value="" name="Itemid' . $id . '" />';
@@ -4074,7 +4077,7 @@ class FMViewForm_maker {
4074
  if (window.before_reset) {
4075
  before_reset();
4076
  }
4077
- window.location = "<?php echo $_SERVER['REQUEST_URI'] ?>";
4078
  return;
4079
  }
4080
  if (window.before_submit) {
@@ -4194,7 +4197,7 @@ class FMViewForm_maker {
4194
  $form_maker_front_end .= 'WDF_GRADING_TEXT = \'' . addslashes(__("Your score should be less than", 'form_maker')) . '\';';
4195
  $form_maker_front_end .= 'WDF_INVALID_GRADING_' . $id . ' = \'' . addslashes(sprintf(__("Your score should be less than", 'form_maker'), '`grading_label`', '`grading_total`')) . '\';';
4196
  $form_maker_front_end .= 'WDF_INVALID_EMAIL = \'' . addslashes(__("This is not a valid email address.", 'form_maker')) . '\';';
4197
- $form_maker_front_end .= 'REQUEST_URI_' . $id . ' = "' . $_SERVER['REQUEST_URI'] . '";';
4198
  $form_maker_front_end .= 'ReqFieldMsg_' . $id . ' =\'`FIELDNAME` ' . addslashes(__('field is required.', 'form_maker')) . '\';';
4199
  $form_maker_front_end .= 'RangeFieldMsg_' . $id . ' =\'' . addslashes(__('The', 'form_maker')) . ' `FIELDNAME` ' . addslashes(__('value must be between', 'form_maker')) . ' `FROM` - `TO`\';';
4200
  $form_maker_front_end .= 'FormCurrency_' . $id . ' = "' . $form_currency . '";';
23
  // Public Methods //
24
  ////////////////////////////////////////////////////////////////////////////////////////
25
  public function display($id) {
26
+
27
+ $current_url=htmlentities($_SERVER['REQUEST_URI']);
28
+
29
  $form_maker_front_end = "";
30
  $result = $this->model->showform($id);
31
  if (!$result) {
124
  $form_currency = $currency_sign[array_search($row->payment_currency, $currency_code)];
125
  }
126
  $form_paypal_tax = $row->tax;
127
+ $form_maker_front_end .= '<form name="form' . $id . '" action="' . $current_url . '" method="post" id="form' . $id . '" class="form' . $id . '" enctype="multipart/form-data" onsubmit="check_required(\'submit\', \'' . $id . '\'); return false;">
128
  <div id="' . $id . 'pages" class="wdform_page_navigation" show_title="' . $row->show_title . '" show_numbers="' . $row->show_numbers . '" type="' . $row->pagination . '"></div>
129
  <input type="hidden" id="counter' . $id . '" value="' . $row->counter . '" name="counter' . $id . '" />
130
  <input type="hidden" id="Itemid' . $id . '" value="" name="Itemid' . $id . '" />';
4077
  if (window.before_reset) {
4078
  before_reset();
4079
  }
4080
+ window.location = "<?php echo $current_url ?>";
4081
  return;
4082
  }
4083
  if (window.before_submit) {
4197
  $form_maker_front_end .= 'WDF_GRADING_TEXT = \'' . addslashes(__("Your score should be less than", 'form_maker')) . '\';';
4198
  $form_maker_front_end .= 'WDF_INVALID_GRADING_' . $id . ' = \'' . addslashes(sprintf(__("Your score should be less than", 'form_maker'), '`grading_label`', '`grading_total`')) . '\';';
4199
  $form_maker_front_end .= 'WDF_INVALID_EMAIL = \'' . addslashes(__("This is not a valid email address.", 'form_maker')) . '\';';
4200
+ $form_maker_front_end .= 'REQUEST_URI_' . $id . ' = "' . $current_url . '";';
4201
  $form_maker_front_end .= 'ReqFieldMsg_' . $id . ' =\'`FIELDNAME` ' . addslashes(__('field is required.', 'form_maker')) . '\';';
4202
  $form_maker_front_end .= 'RangeFieldMsg_' . $id . ' =\'' . addslashes(__('The', 'form_maker')) . ' `FIELDNAME` ' . addslashes(__('value must be between', 'form_maker')) . ' `FROM` - `TO`\';';
4203
  $form_maker_front_end .= 'FormCurrency_' . $id . ' = "' . $form_currency . '";';
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.1
7
- Stable tag: 1.7.31
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
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.1
7
+ Stable tag: 1.7.32
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10