Version Description
Fixed: Bug in Email Options
Fixed: Bug in Conditional Fields
Fixed: Bug in date field
Download this release
Release Info
Developer | webdorado |
Plugin | Form Maker by WD – user-friendly drag & drop Form Builder plugin |
Version | 1.8.28 |
Comparing to | |
See all releases |
Code changes from version 1.8.27 to 1.8.28
- admin/views/FMViewManage_fm.php +1 -1
- form-maker.php +2 -2
- frontend/models/FMModelForm_maker.php +4 -4
- js/calendar/calendar_function.js +5 -0
- readme.txt +6 -1
admin/views/FMViewManage_fm.php
CHANGED
@@ -4051,7 +4051,7 @@ class FMViewManage_fm {
|
|
4051 |
else
|
4052 |
$selected ='';
|
4053 |
|
4054 |
-
if(strpos($w_choices_array[$m], '[') === false && strpos($w_choices_array[$m], ']') === false
|
4055 |
echo '<option id="choise_'.$k.'_'.$m.'" value="'.$w_choice.'" '.$selected.'>'.$w_choices_array[$m].'</option>';
|
4056 |
}
|
4057 |
}
|
4051 |
else
|
4052 |
$selected ='';
|
4053 |
|
4054 |
+
if(strpos($w_choices_array[$m], '[') === false && strpos($w_choices_array[$m], ']') === false) {
|
4055 |
echo '<option id="choise_'.$k.'_'.$m.'" value="'.$w_choice.'" '.$selected.'>'.$w_choices_array[$m].'</option>';
|
4056 |
}
|
4057 |
}
|
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.
|
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.
|
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.28
|
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.28';
|
275 |
global $wpdb;
|
276 |
if (!$version) {
|
277 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
frontend/models/FMModelForm_maker.php
CHANGED
@@ -2350,10 +2350,10 @@ class FMModelForm_maker {
|
|
2350 |
$headers .= "Reply-To: <" . $replyto . ">\r\n";
|
2351 |
}
|
2352 |
if ($cca) {
|
2353 |
-
$headers .= "Cc:
|
2354 |
}
|
2355 |
if ($bcc) {
|
2356 |
-
$headers .= "Bcc:
|
2357 |
}
|
2358 |
|
2359 |
$custom_fields_value = array( $ip, $useremail, $username, $subid, $list_user );
|
@@ -2512,10 +2512,10 @@ class FMModelForm_maker {
|
|
2512 |
$cca = $row->mail_cc;
|
2513 |
$bcc = $row->mail_bcc;
|
2514 |
if ($cca) {
|
2515 |
-
$headers .= "Cc:
|
2516 |
}
|
2517 |
if ($bcc) {
|
2518 |
-
$headers .= "Bcc:
|
2519 |
}
|
2520 |
|
2521 |
$custom_fields_value = array( $ip, $useremail, $username, $subid, $list );
|
2350 |
$headers .= "Reply-To: <" . $replyto . ">\r\n";
|
2351 |
}
|
2352 |
if ($cca) {
|
2353 |
+
$headers .= "Cc: " . $cca . "\r\n";
|
2354 |
}
|
2355 |
if ($bcc) {
|
2356 |
+
$headers .= "Bcc: " . $bcc . "\r\n";
|
2357 |
}
|
2358 |
|
2359 |
$custom_fields_value = array( $ip, $useremail, $username, $subid, $list_user );
|
2512 |
$cca = $row->mail_cc;
|
2513 |
$bcc = $row->mail_bcc;
|
2514 |
if ($cca) {
|
2515 |
+
$headers .= "Cc: " . $cca . "\r\n";
|
2516 |
}
|
2517 |
if ($bcc) {
|
2518 |
+
$headers .= "Bcc: " . $bcc . "\r\n";
|
2519 |
}
|
2520 |
|
2521 |
$custom_fields_value = array( $ip, $useremail, $username, $subid, $list );
|
js/calendar/calendar_function.js
CHANGED
@@ -370,6 +370,10 @@ function checkCalendar(ev) {
|
|
370 |
function showCalendar(id, dateFormat, dis_past_days) {
|
371 |
var el = document.getElementById(id);
|
372 |
if (calendar != null) {
|
|
|
|
|
|
|
|
|
373 |
// we already have one created, so just update it.
|
374 |
calendar.hide(); // hide the existing calendar
|
375 |
calendar.parseDate(el.value); // set it to a new date
|
@@ -401,6 +405,7 @@ function showCalendar(id, dateFormat, dis_past_days) {
|
|
401 |
return false;
|
402 |
}
|
403 |
|
|
|
404 |
function getDisabledDates(date) {
|
405 |
var currentDate = new Date();
|
406 |
if( date.getDate() == currentDate.getDate() && date.getMonth() == currentDate.getMonth() && date.getFullYear() == currentDate.getFullYear() )
|
370 |
function showCalendar(id, dateFormat, dis_past_days) {
|
371 |
var el = document.getElementById(id);
|
372 |
if (calendar != null) {
|
373 |
+
if ( dateFormat ) // optional date format
|
374 |
+
{
|
375 |
+
calendar.setDateFormat(dateFormat);
|
376 |
+
}
|
377 |
// we already have one created, so just update it.
|
378 |
calendar.hide(); // hide the existing calendar
|
379 |
calendar.parseDate(el.value); // set it to a new date
|
405 |
return false;
|
406 |
}
|
407 |
|
408 |
+
|
409 |
function getDisabledDates(date) {
|
410 |
var currentDate = new Date();
|
411 |
if( date.getDate() == currentDate.getDate() && date.getMonth() == currentDate.getMonth() && date.getFullYear() == currentDate.getFullYear() )
|
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.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -305,6 +305,11 @@ Unfortunately we do not have support for this feature. But we [Conditional Email
|
|
305 |
|
306 |
== Changelog ==
|
307 |
|
|
|
|
|
|
|
|
|
|
|
308 |
= 1.8.27 =
|
309 |
Fixed: Bug in Conditional Fields
|
310 |
Fixed: Bug with Additional Attributs in Multiple Choice
|
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.28
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
305 |
|
306 |
== Changelog ==
|
307 |
|
308 |
+
= 1.8.28 =
|
309 |
+
Fixed: Bug in Email Options
|
310 |
+
Fixed: Bug in Conditional Fields
|
311 |
+
Fixed: Bug in date field
|
312 |
+
|
313 |
= 1.8.27 =
|
314 |
Fixed: Bug in Conditional Fields
|
315 |
Fixed: Bug with Additional Attributs in Multiple Choice
|