Calculated Fields Form - Version 1.1.114

Version Description

  • Fixes a parser error when opening the public form right after importing it from the forms library.
Download this release

Release Info

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

Code changes from version 1.1.113 to 1.1.114

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: 6.0
7
- Stable tag: 1.1.113
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.113 =
969
 
970
  * Modifies the setChoices method in radio buttons, checkbox, and dropdown fields.
@@ -1009,9 +1013,4 @@ A: Please, follow the steps below:
1009
 
1010
  = 1.1.105 =
1011
 
1012
- * Implement an experimental control that allows users to record audio and video while filling out the form.
1013
-
1014
- = 1.1.104 =
1015
-
1016
- * Fixes a conflict with Breeze WordPress Cache plugin.
1017
- * Modifies the results list shortcode to allow displaying submissions of multiple forms in the same shortcode (Professional, Developer, and Platinum versions).
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: 6.0
7
+ Stable tag: 1.1.114
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.114 =
969
+
970
+ * Fixes a parser error when opening the public form right after importing it from the forms library.
971
+
972
  = 1.1.113 =
973
 
974
  * Modifies the setChoices method in radio buttons, checkbox, and dropdown fields.
1013
 
1014
  = 1.1.105 =
1015
 
1016
+ * Implement an experimental control that allows users to record audio and video while filling out the form.
 
 
 
 
 
changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
  == Changelog ==
2
 
 
 
 
 
3
  = 1.1.113 =
4
 
5
  * Modifies the setChoices method in radio buttons, checkbox, and dropdown fields.
1
  == Changelog ==
2
 
3
+ = 1.1.114 =
4
+
5
+ * Fixes a parser error when opening the public form right after importing it from the forms library.
6
+
7
  = 1.1.113 =
8
 
9
  * Modifies the setChoices method in radio buttons, checkbox, and dropdown fields.
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.113
7
  Text Domain: calculated-fields-form
8
  Author: CodePeople
9
  Author URI: https://cff.dwbooster.com
@@ -15,7 +15,7 @@ if ( ! defined( 'WP_DEBUG' ) || true != WP_DEBUG ) {
15
  }
16
 
17
  // Defining main constants
18
- define( 'CP_CALCULATEDFIELDSF_VERSION', '1.1.113' );
19
  define( 'CP_CALCULATEDFIELDSF_MAIN_FILE_PATH', __FILE__ );
20
  define( 'CP_CALCULATEDFIELDSF_BASE_PATH', dirname( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
21
  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.114
7
  Text Domain: calculated-fields-form
8
  Author: CodePeople
9
  Author URI: https://cff.dwbooster.com
15
  }
16
 
17
  // Defining main constants
18
+ define( 'CP_CALCULATEDFIELDSF_VERSION', '1.1.114' );
19
  define( 'CP_CALCULATEDFIELDSF_MAIN_FILE_PATH', __FILE__ );
20
  define( 'CP_CALCULATEDFIELDSF_BASE_PATH', dirname( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
21
  define( 'CP_CALCULATEDFIELDSF_BASE_NAME', plugin_basename( CP_CALCULATEDFIELDSF_MAIN_FILE_PATH ) );
inc/cpcff_public_int.inc.php CHANGED
@@ -33,6 +33,9 @@ if ( ! wp_script_is( 'select2' ) ) {
33
  }
34
 
35
  if ( ! empty( $form_data ) ) {
 
 
 
36
  if ( isset( $form_data[1] ) && isset( $form_data[1][0] ) ) {
37
  if ( ! empty( $form_data[1][0]->formtemplate ) ) {
38
  CPCFF_TEMPLATES::enqueue_template_resources( $form_data[1][0]->formtemplate );
@@ -42,9 +45,6 @@ if ( ! empty( $form_data ) ) {
42
  print '<style>' . wp_strip_all_tags( $form_data[1][0]->customstyles ) . '</style>'; // phpcs:ignore WordPress.Security.EscapeOutput
43
  }
44
  }
45
- if ( isset( $form_data[1] ) && is_object( $form_data[1] ) ) {
46
- $form_data[1] = (array) $form_data[1];
47
- }
48
  $form_data[1]['formid'] = 'cp_calculatedfieldsf_pform_' . CPCFF_MAIN::$form_counter;
49
  ?>
50
  <form name="<?php echo esc_attr( $form_data[1]['formid'] ); ?>" id="<?php echo esc_attr( $form_data[1]['formid'] ); ?>" action="?" method="post" enctype="multipart/form-data" class="cff-form <?php
33
  }
34
 
35
  if ( ! empty( $form_data ) ) {
36
+ if ( isset( $form_data[1] ) && is_object( $form_data[1] ) ) {
37
+ $form_data[1] = (array) $form_data[1];
38
+ }
39
  if ( isset( $form_data[1] ) && isset( $form_data[1][0] ) ) {
40
  if ( ! empty( $form_data[1][0]->formtemplate ) ) {
41
  CPCFF_TEMPLATES::enqueue_template_resources( $form_data[1][0]->formtemplate );
45
  print '<style>' . wp_strip_all_tags( $form_data[1][0]->customstyles ) . '</style>'; // phpcs:ignore WordPress.Security.EscapeOutput
46
  }
47
  }
 
 
 
48
  $form_data[1]['formid'] = 'cp_calculatedfieldsf_pform_' . CPCFF_MAIN::$form_counter;
49
  ?>
50
  <form name="<?php echo esc_attr( $form_data[1]['formid'] ); ?>" id="<?php echo esc_attr( $form_data[1]['formid'] ); ?>" action="?" method="post" enctype="multipart/form-data" class="cff-form <?php
js/fbuilder-pro-public.jquery.js CHANGED
@@ -1,4 +1,4 @@
1
- $.fbuilder['version'] = '1.1.113';
2
  $.fbuilder['controls'] = $.fbuilder['controls'] || {};
3
  $.fbuilder['forms'] = $.fbuilder['forms'] || {};
4
 
1
+ $.fbuilder['version'] = '1.1.114';
2
  $.fbuilder['controls'] = $.fbuilder['controls'] || {};
3
  $.fbuilder['forms'] = $.fbuilder['forms'] || {};
4