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

Version Description

Fixed: Bug in textarea field with line breaks

Download this release

Release Info

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

Code changes from version 1.8.22 to 1.8.23

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.22
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
@@ -271,7 +271,7 @@ function register_fmemailverification_cpt(){
271
  // Activate plugin.
272
  function form_maker_activate() {
273
  $version = get_option("wd_form_maker_version");
274
- $new_version = '1.8.22';
275
  global $wpdb;
276
  if (!$version) {
277
  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.23
7
  * Author: WebDorado
8
  * Author URI: https://web-dorado.com/
9
  * License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
271
  // Activate plugin.
272
  function form_maker_activate() {
273
  $version = get_option("wd_form_maker_version");
274
+ $new_version = '1.8.23';
275
  global $wpdb;
276
  if (!$version) {
277
  add_option("wd_form_maker_version", $new_version, '', 'no');
frontend/models/FMModelForm_maker.php CHANGED
@@ -282,7 +282,6 @@ class FMModelForm_maker {
282
  switch ($type) {
283
  case 'type_text':
284
  case 'type_password':
285
- case 'type_textarea':
286
  case "type_submitter_mail":
287
  case "type_own_select":
288
  case "type_country":
@@ -290,7 +289,10 @@ class FMModelForm_maker {
290
  $value = isset($_POST['wdform_'.$i."_element".$id]) ? esc_html($_POST['wdform_'.$i."_element".$id]) : "";
291
  break;
292
  }
293
-
 
 
 
294
  case "type_date":{
295
  $value = isset($_POST['wdform_'.$i."_element".$id]) ? esc_html($_POST['wdform_'.$i."_element".$id]) : "";
296
  $date_format = isset($_POST['wdform_'.$i."_date_format".$id]) ? esc_html($_POST['wdform_'.$i."_date_format".$id]) : "";
@@ -1762,7 +1764,6 @@ class FMModelForm_maker {
1762
  switch ($type) {
1763
  case 'type_text':
1764
  case 'type_password':
1765
- case 'type_textarea':
1766
  case "type_date":
1767
  case "type_own_select":
1768
  case "type_country":
@@ -1775,6 +1776,15 @@ class FMModelForm_maker {
1775
 
1776
  break;
1777
  }
 
 
 
 
 
 
 
 
 
1778
  case "type_hidden": {
1779
  $element = isset($_POST[$element_label]) ? $_POST[$element_label] : NULL;
1780
  if(isset($element) && $this->empty_field($element, $row->mail_emptyfields)) {
282
  switch ($type) {
283
  case 'type_text':
284
  case 'type_password':
 
285
  case "type_submitter_mail":
286
  case "type_own_select":
287
  case "type_country":
289
  $value = isset($_POST['wdform_'.$i."_element".$id]) ? esc_html($_POST['wdform_'.$i."_element".$id]) : "";
290
  break;
291
  }
292
+ case 'type_textarea': {
293
+ $value = isset($_POST['wdform_'.$i."_element".$id]) ? wpautop($_POST['wdform_'.$i."_element".$id]) : "";
294
+ break;
295
+ }
296
  case "type_date":{
297
  $value = isset($_POST['wdform_'.$i."_element".$id]) ? esc_html($_POST['wdform_'.$i."_element".$id]) : "";
298
  $date_format = isset($_POST['wdform_'.$i."_date_format".$id]) ? esc_html($_POST['wdform_'.$i."_date_format".$id]) : "";
1764
  switch ($type) {
1765
  case 'type_text':
1766
  case 'type_password':
 
1767
  case "type_date":
1768
  case "type_own_select":
1769
  case "type_country":
1776
 
1777
  break;
1778
  }
1779
+ case 'type_textarea': {
1780
+ $element = isset($_POST['wdform_'.$i."_element".$id]) ? wpautop($_POST['wdform_'.$i."_element".$id]) : NULL;
1781
+
1782
+ if(isset($element) && $this->empty_field($element, $row->mail_emptyfields)) {
1783
+ $list = $list . '<tr valign="top"><td >' . $element_label . '</td><td>' . $element . '</td></tr>';
1784
+ $list_text_mode=$list_text_mode.$element_label.' - '.$element."\r\n";
1785
+ }
1786
+ break;
1787
+ }
1788
  case "type_hidden": {
1789
  $element = isset($_POST[$element_label]) ? $_POST[$element_label] : NULL;
1790
  if(isset($element) && $this->empty_field($element, $row->mail_emptyfields)) {
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, 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.22
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -302,6 +302,9 @@ The Form Maker (Pro version) has simple PayPal integration. This allows the user
302
 
303
  == Changelog ==
304
 
 
 
 
305
  = 1.8.22 =
306
  Fixed: Conflict with some plugins
307
 
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, 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.23
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
302
 
303
  == Changelog ==
304
 
305
+ = 1.8.23 =
306
+ Fixed: Bug in textarea field with line breaks
307
+
308
  = 1.8.22 =
309
  Fixed: Conflict with some plugins
310