Version Description
*
Download this release
Release Info
Developer | umarbajwa |
Plugin | Form Builder | Create Responsive Contact Forms |
Version | 1.3 |
Comparing to | |
See all releases |
Code changes from version 1.2 to 1.3
- admin/assets/js/script.js +1 -1
- config.php +1 -1
- forms.php +4 -2
- public/core/class/class-smuzform-form.php +1 -1
- readme.txt +4 -1
admin/assets/js/script.js
CHANGED
@@ -56,7 +56,7 @@ smuzform.App.Models.FormSettings = Backbone.Model.extend({
|
|
56 |
errorMessages: {},
|
57 |
style: {},
|
58 |
mailchimpAddOnData: {},
|
59 |
-
addOnData:
|
60 |
|
61 |
};
|
62 |
|
56 |
errorMessages: {},
|
57 |
style: {},
|
58 |
mailchimpAddOnData: {},
|
59 |
+
addOnData: []
|
60 |
|
61 |
};
|
62 |
|
config.php
CHANGED
@@ -43,7 +43,7 @@ define( 'SMUZFORM_SHORTCODE', 'sform' );
|
|
43 |
|
44 |
define( 'SMUZFORM_UPLOAD_DIR_NAME', 'smuzformfiles-' );
|
45 |
|
46 |
-
define( 'SMUZFORM_PLUGIN_VERSION', '1.
|
47 |
|
48 |
define( 'SMUZFORM_ENTRIES_PER_PAGE', 10 );
|
49 |
|
43 |
|
44 |
define( 'SMUZFORM_UPLOAD_DIR_NAME', 'smuzformfiles-' );
|
45 |
|
46 |
+
define( 'SMUZFORM_PLUGIN_VERSION', '1.3' );
|
47 |
|
48 |
define( 'SMUZFORM_ENTRIES_PER_PAGE', 10 );
|
49 |
|
forms.php
CHANGED
@@ -5,7 +5,7 @@ Description: Most beautiful WordPress form builder plugin. A plugin you'll love
|
|
5 |
Author: umarbajwa
|
6 |
Author URI: http://web-settler.com/form-builder/
|
7 |
Plugin URI: http://web-settler.com/form-builder/
|
8 |
-
Version: 1.
|
9 |
License: GPL V2+
|
10 |
**/
|
11 |
|
@@ -70,7 +70,9 @@ function smuzform_create_db_tables() {
|
|
70 |
/**
|
71 |
Executes WordPress action hooks attached to smuzform_loaded
|
72 |
|
73 |
-
->After this plugin is loaded.
|
|
|
|
|
74 |
**/
|
75 |
smuzform_loaded();
|
76 |
|
5 |
Author: umarbajwa
|
6 |
Author URI: http://web-settler.com/form-builder/
|
7 |
Plugin URI: http://web-settler.com/form-builder/
|
8 |
+
Version: 1.3
|
9 |
License: GPL V2+
|
10 |
**/
|
11 |
|
70 |
/**
|
71 |
Executes WordPress action hooks attached to smuzform_loaded
|
72 |
|
73 |
+
->After this plugin is loaded.
|
74 |
+
|
75 |
+
Hook to this function using the plugins_loaded hook.
|
76 |
**/
|
77 |
smuzform_loaded();
|
78 |
|
public/core/class/class-smuzform-form.php
CHANGED
@@ -390,7 +390,7 @@ class SmuzForm_Form {
|
|
390 |
|
391 |
}
|
392 |
|
393 |
-
if ( ! is_numeric( $value ) &&
|
394 |
|
395 |
$errStr = SmuzForm_Error_Msg::get( SMUZFORM_ERROR_FIELD_NOT_NUMERIC, $this->getId() );
|
396 |
|
390 |
|
391 |
}
|
392 |
|
393 |
+
if ( ! is_numeric( $value ) && str_replace( ' ', '', $value) !== '' ) {
|
394 |
|
395 |
$errStr = SmuzForm_Error_Msg::get( SMUZFORM_ERROR_FIELD_NOT_NUMERIC, $this->getId() );
|
396 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: umarbajwa
|
|
3 |
Requires at least: 3.7
|
4 |
Tested up to: 4.5
|
5 |
Tags: contact form, form, form creator, form builder, forms, contact form builder, contact form designer, contact forms, form maker, mailchimp forms, mailchimp form
|
6 |
-
Stable tag: 1.
|
7 |
Donate Link: http://web-settler.com/form-builder/
|
8 |
License: GPL V2 or latest
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
@@ -231,6 +231,9 @@ Contact form plugin give you the ability to apply conditional logic for your not
|
|
231 |
|
232 |
== Upgrade Notice ==
|
233 |
|
|
|
|
|
|
|
234 |
= 1.2 =
|
235 |
* Form Styler loaded with new features.
|
236 |
* Plugin core changes.
|
3 |
Requires at least: 3.7
|
4 |
Tested up to: 4.5
|
5 |
Tags: contact form, form, form creator, form builder, forms, contact form builder, contact form designer, contact forms, form maker, mailchimp forms, mailchimp form
|
6 |
+
Stable tag: 1.3
|
7 |
Donate Link: http://web-settler.com/form-builder/
|
8 |
License: GPL V2 or latest
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
231 |
|
232 |
== Upgrade Notice ==
|
233 |
|
234 |
+
= 1.3 =
|
235 |
+
*
|
236 |
+
|
237 |
= 1.2 =
|
238 |
* Form Styler loaded with new features.
|
239 |
* Plugin core changes.
|