Version Description
Added: Preview button
Changed: Conditional fields limitation
Download this release
Release Info
Developer | webdorado |
Plugin | Form Maker by WD – user-friendly drag & drop Form Builder plugin |
Version | 1.7.96 |
Comparing to | |
See all releases |
Code changes from version 1.7.95 to 1.7.96
- admin/views/FMViewManage_fm.php +6 -5
- form-maker.php +2 -2
- js/form_maker_manage.js +2 -2
- readme.txt +5 -1
admin/views/FMViewManage_fm.php
CHANGED
@@ -449,6 +449,9 @@ class FMViewManage_fm {
|
|
449 |
}
|
450 |
}
|
451 |
?>
|
|
|
|
|
|
|
452 |
<input class="button-primary" type="submit" onclick="if (fm_check_required('title', 'Form title') || !submitbutton()) {return false;}; fm_set_input_value('task', 'form_options');" value="Form Options"/>
|
453 |
<input class="button-primary" type="submit" onclick="if (fm_check_required('title', 'Form title') || !submitbutton()) {return false;}; fm_set_input_value('task', 'form_layout');" value="Form Layout"/>
|
454 |
<?php
|
@@ -2673,13 +2676,13 @@ class FMViewManage_fm {
|
|
2673 |
}
|
2674 |
function set_condition() {
|
2675 |
field_condition = '';
|
2676 |
-
for(i=0;i<
|
2677 |
conditions = '';
|
2678 |
if(document.getElementById("condition"+i)) {
|
2679 |
field_condition+=document.getElementById("show_hide"+i).value+"*:*show_hide*:*";
|
2680 |
field_condition+=document.getElementById("fields"+i).value+"*:*field_label*:*";
|
2681 |
field_condition+=document.getElementById("all_any"+i).value+"*:*all_any*:*";
|
2682 |
-
for(k=0;k<
|
2683 |
if(document.getElementById("condition_div"+i+"_"+k)) {
|
2684 |
conditions+=document.getElementById("field_labels"+i+"_"+k).value+"***";
|
2685 |
conditions+=document.getElementById("is_select"+i+"_"+k).value+"***";
|
@@ -2823,9 +2826,7 @@ class FMViewManage_fm {
|
|
2823 |
}
|
2824 |
?>
|
2825 |
</select>
|
2826 |
-
|
2827 |
-
Preview
|
2828 |
-
</a>
|
2829 |
<a href="<?php echo add_query_arg(array('action' => 'FormMakerEditCSS', 'id' => $row->theme, 'form_id' => $row->id, 'width' => '1000', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" class="button-secondary thickbox thickbox-preview" id="edit_css" title="Edit CSS" onclick="return false;">
|
2830 |
Edit CSS
|
2831 |
</a>
|
449 |
}
|
450 |
}
|
451 |
?>
|
452 |
+
<a href="<?php echo add_query_arg(array('action' => 'FormMakerPreview', 'form_id' => $row->id, 'test_theme' => $row->theme, 'width' => '1000', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" class="button-primary thickbox thickbox-preview" id="preview_form" title="Form Preview" onclick="return false;">
|
453 |
+
Preview
|
454 |
+
</a>
|
455 |
<input class="button-primary" type="submit" onclick="if (fm_check_required('title', 'Form title') || !submitbutton()) {return false;}; fm_set_input_value('task', 'form_options');" value="Form Options"/>
|
456 |
<input class="button-primary" type="submit" onclick="if (fm_check_required('title', 'Form title') || !submitbutton()) {return false;}; fm_set_input_value('task', 'form_layout');" value="Form Layout"/>
|
457 |
<?php
|
2676 |
}
|
2677 |
function set_condition() {
|
2678 |
field_condition = '';
|
2679 |
+
for(i=0;i<500;i++) {
|
2680 |
conditions = '';
|
2681 |
if(document.getElementById("condition"+i)) {
|
2682 |
field_condition+=document.getElementById("show_hide"+i).value+"*:*show_hide*:*";
|
2683 |
field_condition+=document.getElementById("fields"+i).value+"*:*field_label*:*";
|
2684 |
field_condition+=document.getElementById("all_any"+i).value+"*:*all_any*:*";
|
2685 |
+
for(k=0;k<500;k++) {
|
2686 |
if(document.getElementById("condition_div"+i+"_"+k)) {
|
2687 |
conditions+=document.getElementById("field_labels"+i+"_"+k).value+"***";
|
2688 |
conditions+=document.getElementById("is_select"+i+"_"+k).value+"***";
|
2826 |
}
|
2827 |
?>
|
2828 |
</select>
|
2829 |
+
|
|
|
|
|
2830 |
<a href="<?php echo add_query_arg(array('action' => 'FormMakerEditCSS', 'id' => $row->theme, 'form_id' => $row->id, 'width' => '1000', 'height' => '500', 'TB_iframe' => '1'), admin_url('admin-ajax.php')); ?>" class="button-secondary thickbox thickbox-preview" id="edit_css" title="Edit CSS" onclick="return false;">
|
2831 |
Edit CSS
|
2832 |
</a>
|
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.7.
|
7 |
* Author: WebDorado
|
8 |
* Author URI: https://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -269,7 +269,7 @@ function register_fmemailverification_cpt(){
|
|
269 |
// Activate plugin.
|
270 |
function form_maker_activate() {
|
271 |
$version = get_option("wd_form_maker_version");
|
272 |
-
$new_version = '1.7.
|
273 |
global $wpdb;
|
274 |
if (!$version) {
|
275 |
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.7.96
|
7 |
* Author: WebDorado
|
8 |
* Author URI: https://web-dorado.com/
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
269 |
// Activate plugin.
|
270 |
function form_maker_activate() {
|
271 |
$version = get_option("wd_form_maker_version");
|
272 |
+
$new_version = '1.7.96';
|
273 |
global $wpdb;
|
274 |
if (!$version) {
|
275 |
add_option("wd_form_maker_version", $new_version, '', 'no');
|
js/form_maker_manage.js
CHANGED
@@ -767,7 +767,7 @@ function add_condition_fields(num, ids1, labels1, types1, params1) {
|
|
767 |
types = types1.split("@@**@@");
|
768 |
params = params1.split("@@**@@");
|
769 |
|
770 |
-
for(i=
|
771 |
if(document.getElementById('condition_div'+num+'_'+i))
|
772 |
break;
|
773 |
}
|
@@ -976,7 +976,7 @@ function add_condition_fields(num, ids1, labels1, types1, params1) {
|
|
976 |
}
|
977 |
|
978 |
function add_condition(ids1, labels1, types1, params1, all_ids, all_labels) {
|
979 |
-
for(i=
|
980 |
if(document.getElementById('condition'+i))
|
981 |
break;
|
982 |
}
|
767 |
types = types1.split("@@**@@");
|
768 |
params = params1.split("@@**@@");
|
769 |
|
770 |
+
for(i=500; i>=0; i--) {
|
771 |
if(document.getElementById('condition_div'+num+'_'+i))
|
772 |
break;
|
773 |
}
|
976 |
}
|
977 |
|
978 |
function add_condition(ids1, labels1, types1, params1, all_ids, all_labels) {
|
979 |
+
for(i=500; i>=0; i--) {
|
980 |
if(document.getElementById('condition'+i))
|
981 |
break;
|
982 |
}
|
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, formular, formulario, admin, captcha, contact, database, email, javascript, jquery, page, plugin, survey, widget, custom form, forms creator, input, validation, send copy, form with captcha , pdf
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.3
|
7 |
-
Stable tag: 1.7.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -299,6 +299,10 @@ The Form Maker (Pro version) has simple PayPal integration. This allows the user
|
|
299 |
|
300 |
== Changelog ==
|
301 |
|
|
|
|
|
|
|
|
|
302 |
= 1.7.95 =
|
303 |
Changed: csv/xml export file directory
|
304 |
|
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 , pdf
|
5 |
Requires at least: 3.4
|
6 |
Tested up to: 4.3
|
7 |
+
Stable tag: 1.7.96
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
299 |
|
300 |
== Changelog ==
|
301 |
|
302 |
+
= 1.7.96 =
|
303 |
+
Added: Preview button
|
304 |
+
Changed: Conditional fields limitation
|
305 |
+
|
306 |
= 1.7.95 =
|
307 |
Changed: csv/xml export file directory
|
308 |
|