Version Description
- Fixed: Submit / Reset button in Conditional fields.
Download this release
Release Info
Developer | 10web |
Plugin | Form Maker by WD – user-friendly drag & drop Form Builder plugin |
Version | 1.14.2 |
Comparing to | |
See all releases |
Code changes from version 1.14.1 to 1.14.2
- admin/views/Manage_fm.php +14 -4
- form-maker.php +3 -3
- readme.txt +10 -7
admin/views/Manage_fm.php
CHANGED
@@ -1720,8 +1720,15 @@ class FMViewManage_fm extends FMAdminView {
|
|
1720 |
}
|
1721 |
array_push($types, $temp[0]);
|
1722 |
$temp = explode('*:*w_field_label*:*', $temp[1]);
|
1723 |
-
|
1724 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1725 |
array_push($paramss, str_replace(array("'",'"'),array('%quot%','%dquot%'), $temp[1]));
|
1726 |
}
|
1727 |
$params_names = array();
|
@@ -1774,6 +1781,9 @@ class FMViewManage_fm extends FMAdminView {
|
|
1774 |
$ids_index[$index_value] = $index_key;
|
1775 |
}
|
1776 |
foreach ( $types as $key => $value ) {
|
|
|
|
|
|
|
1777 |
if ( !in_array($types[$key], $select_and_input) ) {
|
1778 |
unset($ids[$key]);
|
1779 |
unset($labels[$key]);
|
@@ -1826,8 +1836,8 @@ class FMViewManage_fm extends FMAdminView {
|
|
1826 |
<div class="wd-group" id="conditions_fieldset_wrap">
|
1827 |
<p class="description"><?php _e('Press Add Condition button to configure the first condition of your form. Show/Hide select box represents the action which will be completed, if all or any of the condition statements are fulfilled. Use the second drop-down menu to select the field which will be shown or hidden. Click the little Plus (+) icon to add the statement of your form condition.', WDFMInstance(self::PLUGIN)->prefix); ?><br><br></p>
|
1828 |
<div style="text-align: right;">
|
1829 |
-
|
1830 |
-
|
1831 |
</div>
|
1832 |
<?php
|
1833 |
for ( $k = 0; $k < $count_of_conditions; $k++ ) {
|
1720 |
}
|
1721 |
array_push($types, $temp[0]);
|
1722 |
$temp = explode('*:*w_field_label*:*', $temp[1]);
|
1723 |
+
$label_name = $temp[0];
|
1724 |
+
// Set submit button label.
|
1725 |
+
if ( preg_match("/^type_submit_reset_\d+$/", $label_name ) ) {
|
1726 |
+
$label_submit = explode('*:*w_submit_title*:*', $temp[1]);
|
1727 |
+
$label_reset = explode('*:*w_reset_title*:*', $label_submit[1]);
|
1728 |
+
$label_name = $label_submit[0] . ' / ' . $label_reset[0];
|
1729 |
+
}
|
1730 |
+
array_push($labels, str_replace(array("'",'"'),array('%quot%','%dquot%'), $label_name));
|
1731 |
+
array_push($all_labels, str_replace(array("'",'"'),array('%quot%','%dquot%'), $label_name));
|
1732 |
array_push($paramss, str_replace(array("'",'"'),array('%quot%','%dquot%'), $temp[1]));
|
1733 |
}
|
1734 |
$params_names = array();
|
1781 |
$ids_index[$index_value] = $index_key;
|
1782 |
}
|
1783 |
foreach ( $types as $key => $value ) {
|
1784 |
+
if ( $types[$key] == 'type_submit_reset' ) {
|
1785 |
+
continue;
|
1786 |
+
}
|
1787 |
if ( !in_array($types[$key], $select_and_input) ) {
|
1788 |
unset($ids[$key]);
|
1789 |
unset($labels[$key]);
|
1836 |
<div class="wd-group" id="conditions_fieldset_wrap">
|
1837 |
<p class="description"><?php _e('Press Add Condition button to configure the first condition of your form. Show/Hide select box represents the action which will be completed, if all or any of the condition statements are fulfilled. Use the second drop-down menu to select the field which will be shown or hidden. Click the little Plus (+) icon to add the statement of your form condition.', WDFMInstance(self::PLUGIN)->prefix); ?><br><br></p>
|
1838 |
<div style="text-align: right;">
|
1839 |
+
<span id="fm-conditions-json" data-conditions-json='<?php echo $json_conditions_data; ?>'></span>
|
1840 |
+
<button class="wd-button button-primary" onclick="add_condition(); return false;"><?php _e('Add Condition', WDFMInstance(self::PLUGIN)->prefix); ?></button>
|
1841 |
</div>
|
1842 |
<?php
|
1843 |
for ( $k = 0; $k < $count_of_conditions; $k++ ) {
|
form-maker.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
* Plugin Name: Form Maker
|
4 |
* Plugin URI: https://10web.io/plugins/wordpress-form-maker/?utm_source=form_maker&utm_medium=free_plugin
|
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.14.
|
7 |
* Author: 10Web Form Builder Team
|
8 |
* Author URI: https://10web.io/plugins/?utm_source=form_maker&utm_medium=free_plugin
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
@@ -104,8 +104,8 @@ final class WDFM {
|
|
104 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
105 |
$this->front_urls = $this->get_front_urls();
|
106 |
$this->main_file = plugin_basename(__FILE__);
|
107 |
-
$this->plugin_version = '1.14.
|
108 |
-
$this->db_version = '2.14.
|
109 |
$this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
|
110 |
$this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
|
111 |
$this->menu_slug = 'manage' . $this->menu_postfix;
|
3 |
* Plugin Name: Form Maker
|
4 |
* Plugin URI: https://10web.io/plugins/wordpress-form-maker/?utm_source=form_maker&utm_medium=free_plugin
|
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.14.2
|
7 |
* Author: 10Web Form Builder Team
|
8 |
* Author URI: https://10web.io/plugins/?utm_source=form_maker&utm_medium=free_plugin
|
9 |
* License: GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html
|
104 |
$this->plugin_url = plugins_url(plugin_basename(dirname(__FILE__)));
|
105 |
$this->front_urls = $this->get_front_urls();
|
106 |
$this->main_file = plugin_basename(__FILE__);
|
107 |
+
$this->plugin_version = '1.14.2';
|
108 |
+
$this->db_version = '2.14.2';
|
109 |
$this->menu_postfix = ($this->is_free == 2 ? '_fmc' : '_fm');
|
110 |
$this->plugin_postfix = ($this->is_free == 2 ? '_fmc' : '');
|
111 |
$this->menu_slug = 'manage' . $this->menu_postfix;
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: webdorado,10web,wdsupport,formmakersupport
|
|
3 |
Tags: form, forms, form builder, contact form, feedback, custom form, contact, web contact form, captcha, email, form manager, survey
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 5.8
|
6 |
-
Stable tag: 1.14.
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
@@ -561,6 +561,9 @@ Where **{{field_id}}** is the ID of the field you wish to prefill. Also, **{{par
|
|
561 |
|
562 |
|
563 |
== Changelog ==
|
|
|
|
|
|
|
564 |
= 1.14.1 =
|
565 |
* Fixed: Select, radio, checkbox fields.
|
566 |
|
@@ -1819,12 +1822,12 @@ New themes
|
|
1819 |
- Time form field
|
1820 |
- Country list form field
|
1821 |
- Recaptcha form field
|
1822 |
-
* Pagebreak of the [Wordpress Form](http://wordpress.org/plugins/form-maker/) Maker: This can be used to break the form into distinct pages.
|
1823 |
-
* Section Break of the Form Maker: This option allows adding a section break to the form page.
|
1824 |
-
* For each web form certain types of statistical data are available in the form builder tool:
|
1825 |
-
* Entries of a form: The number of submitted forms in the form builder tool.
|
1826 |
-
* Views of a form: The number of times the form has been viewed.
|
1827 |
-
* Conversion Rate of a form: The percentage of submitted forms to the overall number of views.
|
1828 |
|
1829 |
= 1.0.0 =
|
1830 |
Initial version
|
3 |
Tags: form, forms, form builder, contact form, feedback, custom form, contact, web contact form, captcha, email, form manager, survey
|
4 |
Requires at least: 4.6
|
5 |
Tested up to: 5.8
|
6 |
+
Stable tag: 1.14.2
|
7 |
License: GPLv2 or later
|
8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
9 |
|
561 |
|
562 |
|
563 |
== Changelog ==
|
564 |
+
= 1.14.2 =
|
565 |
+
* Fixed: Submit / Reset button in Conditional fields.
|
566 |
+
|
567 |
= 1.14.1 =
|
568 |
* Fixed: Select, radio, checkbox fields.
|
569 |
|
1822 |
- Time form field
|
1823 |
- Country list form field
|
1824 |
- Recaptcha form field
|
1825 |
+
* Pagebreak of the [Wordpress Form](http://wordpress.org/plugins/form-maker/) Maker: This can be used to break the form into distinct pages.
|
1826 |
+
* Section Break of the Form Maker: This option allows adding a section break to the form page.
|
1827 |
+
* For each web form certain types of statistical data are available in the form builder tool:
|
1828 |
+
* Entries of a form: The number of submitted forms in the form builder tool.
|
1829 |
+
* Views of a form: The number of times the form has been viewed.
|
1830 |
+
* Conversion Rate of a form: The percentage of submitted forms to the overall number of views.
|
1831 |
|
1832 |
= 1.0.0 =
|
1833 |
Initial version
|