Calculated Fields Form - Version 1.1.83

Version Description

  • Modifies the fields validation module.
Download this release

Release Info

Developer codepeople
Plugin Icon 128x128 Calculated Fields Form
Version 1.1.83
Comparing to
See all releases

Code changes from version 1.1.82 to 1.1.83

README.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: http://cff.dwbooster.com
4
  Tags: form,quote form,contact form,form builder,calculator,calculated,quote calculator,forms,form editor,advanced forms,payment calculator,payment,recurring payment,quote,fields,calculated field,price calculator,email,form design,paypal,equation editor,formula,equation,quote calculator,post,posts,plugin,widget,admin,sidebar,images,image,page,shortcode,products form,woocommerce,addons,layout,session,post,cookie,get,webhook,Dropbox,pdf,language
5
  Requires at least: 3.0.5
6
  Tested up to: 5.9
7
- Stable tag: 1.1.82
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -965,6 +965,10 @@ A: Please, follow the steps below:
965
 
966
  == Changelog ==
967
 
 
 
 
 
968
  = 1.1.82 =
969
 
970
  * Modifies the forms categories module to assign the category from form creation and improves the category assignment.
@@ -1025,9 +1029,4 @@ A: Please, follow the steps below:
1025
 
1026
  * Fixes an issue with the default values in DropDown, Radio Buttons, and Checkbox fields.
1027
  * Modifies the add-ons Google Place, Signature, and reCAPTCHA to prevent conflicts with the DIVI pages builder (Developer and Platinum versions).
1028
- * Modifies the SERVER-SIDE Equations add-on (Developer and Platinum versions).
1029
-
1030
- = 1.1.73 =
1031
-
1032
- * Fixes a minor issue with the next/previous pages feature in multi-page forms.
1033
- * Modifies the appearance of the controls on mobile devices.
4
  Tags: form,quote form,contact form,form builder,calculator,calculated,quote calculator,forms,form editor,advanced forms,payment calculator,payment,recurring payment,quote,fields,calculated field,price calculator,email,form design,paypal,equation editor,formula,equation,quote calculator,post,posts,plugin,widget,admin,sidebar,images,image,page,shortcode,products form,woocommerce,addons,layout,session,post,cookie,get,webhook,Dropbox,pdf,language
5
  Requires at least: 3.0.5
6
  Tested up to: 5.9
7
+ Stable tag: 1.1.83
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
965
 
966
  == Changelog ==
967
 
968
+ = 1.1.83 =
969
+
970
+ * Modifies the fields validation module.
971
+
972
  = 1.1.82 =
973
 
974
  * Modifies the forms categories module to assign the category from form creation and improves the category assignment.
1029
 
1030
  * Fixes an issue with the default values in DropDown, Radio Buttons, and Checkbox fields.
1031
  * Modifies the add-ons Google Place, Signature, and reCAPTCHA to prevent conflicts with the DIVI pages builder (Developer and Platinum versions).
1032
+ * Modifies the SERVER-SIDE Equations add-on (Developer and Platinum versions).
 
 
 
 
 
changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
  == Changelog ==
2
 
 
 
 
 
3
  = 1.1.82 =
4
 
5
  * Modifies the forms categories module to assign the category from form creation and improves the category assignment.
@@ -480,14 +484,4 @@
480
  = 1.0.465 =
481
 
482
  * Fixes a conflict with some themes.
483
- * Prevents an issue caused by some optimizers.
484
-
485
- = 1.0.464 =
486
-
487
- * Modifies some styles.
488
- * Modifies the IGNOREFIELD and ACTIVEFIELD operations accepting the form's id as its second parameter.
489
- * Includes additional buttons in the Gutenberg and Elementor editors to access the forms builder directly.
490
-
491
- = 1.0.463 =
492
-
493
- * Fixes a conflict with the latest update of Divi.
1
  == Changelog ==
2
 
3
+ = 1.1.83 =
4
+
5
+ * Modifies the fields validation module.
6
+
7
  = 1.1.82 =
8
 
9
  * Modifies the forms categories module to assign the category from form creation and improves the category assignment.
484
  = 1.0.465 =
485
 
486
  * Fixes a conflict with some themes.
487
+ * Prevents an issue caused by some optimizers.
 
 
 
 
 
 
 
 
 
 
cp_calculatedfieldsf_free.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Calculated Fields Form
4
  Plugin URI: https://cff.dwbooster.com
5
  Description: Create forms with field values calculated based in other form field values.
6
- Version: 1.1.82
7
  Text Domain: calculated-fields-form
8
  Author: CodePeople
9
  Author URI: https://cff.dwbooster.com
@@ -16,7 +16,7 @@ if(!defined('WP_DEBUG') || true != WP_DEBUG)
16
  }
17
 
18
  // Defining main constants
19
- define('CP_CALCULATEDFIELDSF_VERSION', '1.1.82' );
20
  define('CP_CALCULATEDFIELDSF_MAIN_FILE_PATH', __FILE__ );
21
  define('CP_CALCULATEDFIELDSF_BASE_PATH', dirname( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
22
  define('CP_CALCULATEDFIELDSF_BASE_NAME', plugin_basename( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
3
  Plugin Name: Calculated Fields Form
4
  Plugin URI: https://cff.dwbooster.com
5
  Description: Create forms with field values calculated based in other form field values.
6
+ Version: 1.1.83
7
  Text Domain: calculated-fields-form
8
  Author: CodePeople
9
  Author URI: https://cff.dwbooster.com
16
  }
17
 
18
  // Defining main constants
19
+ define('CP_CALCULATEDFIELDSF_VERSION', '1.1.83' );
20
  define('CP_CALCULATEDFIELDSF_MAIN_FILE_PATH', __FILE__ );
21
  define('CP_CALCULATEDFIELDSF_BASE_PATH', dirname( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
22
  define('CP_CALCULATEDFIELDSF_BASE_NAME', plugin_basename( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
js/fbuilder-pro-public.jquery.js CHANGED
@@ -1,4 +1,4 @@
1
- $.fbuilder['version'] = '1.1.82';
2
  $.fbuilder['controls'] = $.fbuilder['controls'] || {};
3
  $.fbuilder['forms'] = $.fbuilder['forms'] || {};
4
 
1
+ $.fbuilder['version'] = '1.1.83';
2
  $.fbuilder['controls'] = $.fbuilder['controls'] || {};
3
  $.fbuilder['forms'] = $.fbuilder['forms'] || {};
4
 
js/fields-public/02_fbuilder.fcurrency.js CHANGED
@@ -25,14 +25,18 @@
25
  var e = $('[id="'+this.name+'"]');
26
  if(rmv) e.removeAttr('min');
27
  else e.attr('min', v);
 
28
  e.valid();
 
29
  },
30
  set_max:function(v, rmv)
31
  {
32
  var e = $('[id="'+this.name+'"]');
33
  if(rmv) e.removeAttr('max');
34
  else e.attr('max', v);
 
35
  e.valid();
 
36
  },
37
  getFormattedValue:function( value )
38
  {
25
  var e = $('[id="'+this.name+'"]');
26
  if(rmv) e.removeAttr('min');
27
  else e.attr('min', v);
28
+ if(!e.hasClass('cpefb_error')) e.removeClass('required');
29
  e.valid();
30
+ if(this.required) e.addClass('required');
31
  },
32
  set_max:function(v, rmv)
33
  {
34
  var e = $('[id="'+this.name+'"]');
35
  if(rmv) e.removeAttr('max');
36
  else e.attr('max', v);
37
+ if(!e.hasClass('cpefb_error')) e.removeClass('required');
38
  e.valid();
39
+ if(this.required) e.addClass('required');
40
  },
41
  getFormattedValue:function( value )
42
  {
js/fields-public/02_fbuilder.fnumber.js CHANGED
@@ -27,21 +27,27 @@
27
  e.attr('step', v);
28
  e.val(vb);
29
  }
 
30
  e.valid();
 
31
  },
32
  set_min:function(v, rmv)
33
  {
34
  var e = $('[id="'+this.name+'"]');
35
  if(rmv) e.removeAttr('min');
36
  else e.attr('min', v);
 
37
  e.valid();
 
38
  },
39
  set_max:function(v, rmv)
40
  {
41
  var e = $('[id="'+this.name+'"]');
42
  if(rmv) e.removeAttr('max');
43
  else e.attr('max', v);
 
44
  e.valid();
 
45
  },
46
  getFormattedValue:function( value )
47
  {
27
  e.attr('step', v);
28
  e.val(vb);
29
  }
30
+ if(!e.hasClass('cpefb_error')) e.removeClass('required');
31
  e.valid();
32
+ if(this.required) e.addClass('required');
33
  },
34
  set_min:function(v, rmv)
35
  {
36
  var e = $('[id="'+this.name+'"]');
37
  if(rmv) e.removeAttr('min');
38
  else e.attr('min', v);
39
+ if(!e.hasClass('cpefb_error')) e.removeClass('required');
40
  e.valid();
41
+ if(this.required) e.addClass('required');
42
  },
43
  set_max:function(v, rmv)
44
  {
45
  var e = $('[id="'+this.name+'"]');
46
  if(rmv) e.removeAttr('max');
47
  else e.attr('max', v);
48
+ if(!e.hasClass('cpefb_error')) e.removeClass('required');
49
  e.valid();
50
+ if(this.required) e.addClass('required');
51
  },
52
  getFormattedValue:function( value )
53
  {