Calculated Fields Form - Version 1.1.128

Version Description

  • Fixes a conflict with the Elementor popup.
  • Applies the Google Places and Signature in the forms previews (Platinum versions of the plugin).
Download this release

Release Info

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

Code changes from version 1.1.127 to 1.1.128

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.1
7
- Stable tag: 1.1.127
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -965,6 +965,11 @@ A: Please, follow the steps below:
965
 
966
  == Changelog ==
967
 
 
 
 
 
 
968
  = 1.1.127 =
969
 
970
  * Modifies the slider controls.
@@ -1013,8 +1018,4 @@ A: Please, follow the steps below:
1013
  * Implements the NETWORKDAYS operation in the Date/Time operations module.
1014
  * Fixes some warnings in the PHPCS report in the compatibilit checked with PHP8.1
1015
  * Modifies the CFFCHART operation to allow registering the ChartJS plugins (Developer and Platinum versions).
1016
- * Implements the Stripe Checkout add-on (Platinum version).
1017
-
1018
- = 1.1.118 =
1019
-
1020
- * Modifies the loading scripts to solve issues caused by optimizer plugins.
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.1
7
+ Stable tag: 1.1.128
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.128 =
969
+
970
+ * Fixes a conflict with the Elementor popup.
971
+ * Applies the Google Places and Signature in the forms previews (Platinum versions of the plugin).
972
+
973
  = 1.1.127 =
974
 
975
  * Modifies the slider controls.
1018
  * Implements the NETWORKDAYS operation in the Date/Time operations module.
1019
  * Fixes some warnings in the PHPCS report in the compatibilit checked with PHP8.1
1020
  * Modifies the CFFCHART operation to allow registering the ChartJS plugins (Developer and Platinum versions).
1021
+ * Implements the Stripe Checkout add-on (Platinum version).
 
 
 
 
changelog.txt CHANGED
@@ -1,5 +1,10 @@
1
  == Changelog ==
2
 
 
 
 
 
 
3
  = 1.1.127 =
4
 
5
  * Modifies the slider controls.
1
  == Changelog ==
2
 
3
+ = 1.1.128 =
4
+
5
+ * Fixes a conflict with the Elementor popup.
6
+ * Applies the Google Places and Signature in the forms previews (Platinum versions of the plugin).
7
+
8
  = 1.1.127 =
9
 
10
  * Modifies the slider controls.
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.127
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.127' );
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.128
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.128' );
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_admin_int.inc.php CHANGED
@@ -538,6 +538,16 @@ if ( get_option( 'CP_CALCULATEDFIELDSF_DIRECT_FORM_ACCESS', CP_CALCULATEDFIELDSF
538
  </div>
539
  </div>
540
 
 
 
 
 
 
 
 
 
 
 
541
  <div id="metabox_notification_email" class="postbox metabox_disabled_section cff-metabox <?php print esc_attr( $cpcff_main->metabox_status( 'metabox_notification_email' ) ); ?>" >
542
  <h3 class='hndle' style="padding:5px;"><span><?php esc_html_e( 'Form Processing / Email Settings', 'calculated-fields-form' ); ?></span></h3>
543
  <div class="inside">
538
  </div>
539
  </div>
540
 
541
+ <div style="border:1px solid #F0AD4E;background:#FBE6CA;padding:10px;color:#3c434a;margin-bottom:20px;">
542
+ <p><?php
543
+ esc_html_e(
544
+ 'If you or your users do not receive the notification emails, they are probably being blocked by the web server. If so, install any of the SMTP connection plugins distributed through the WordPress directory, and configure it to use your hosting provider\'s SMTP server.',
545
+ 'calculated-fields-form'
546
+ );
547
+ ?></p>
548
+ <p><a href="https://wordpress.org/plugins/search/SMTP+Connection/" target="_blank">https://wordpress.org/plugins/search/SMTP+Connection/</a></p>
549
+ </div>
550
+
551
  <div id="metabox_notification_email" class="postbox metabox_disabled_section cff-metabox <?php print esc_attr( $cpcff_main->metabox_status( 'metabox_notification_email' ) ); ?>" >
552
  <h3 class='hndle' style="padding:5px;"><span><?php esc_html_e( 'Form Processing / Email Settings', 'calculated-fields-form' ); ?></span></h3>
553
  <div class="inside">
js/fbuilder-loader-public.php CHANGED
@@ -128,6 +128,22 @@ try {
128
  };
129
  fbuilderjQuery(fbuilderjQuery.fbuilderjQueryGenerator);
130
  fbuilderjQuery(window).on('load',fbuilderjQuery.fbuilderjQueryGenerator);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
131
  <?php
132
  $buffered_contents = ob_get_contents();
133
  ob_end_clean(); // Clean the output buffer and turn off output buffering
128
  };
129
  fbuilderjQuery(fbuilderjQuery.fbuilderjQueryGenerator);
130
  fbuilderjQuery(window).on('load',fbuilderjQuery.fbuilderjQueryGenerator);
131
+
132
+ /* Elementor popup*/
133
+ fbuilderjQuery( document ).on( 'elementor/popup/show', function( event, id, instance ){
134
+ var popup = fbuilderjQuery('[data-elementor-type="popup"]');
135
+ if(popup.length){
136
+ var psequence = fbuilderjQuery('[name="cp_calculatedfieldsf_pform_psequence"]'),
137
+ fnum,flist;
138
+ if(psequence.length){
139
+ fnum = psequence.val();
140
+ if(popup.find('#fieldlist'+fnum+':empty').length) {
141
+ popup.find("#fbuilder"+fnum).removeAttr('data-processed');
142
+ fbuilderjQuery.fbuilderjQueryGenerator();
143
+ }
144
+ }
145
+ }
146
+ } );
147
  <?php
148
  $buffered_contents = ob_get_contents();
149
  ob_end_clean(); // Clean the output buffer and turn off output buffering
js/fbuilder-pro-public.jquery.js CHANGED
@@ -1,4 +1,4 @@
1
- $.fbuilder['version'] = '1.1.127';
2
  $.fbuilder['controls'] = $.fbuilder['controls'] || {};
3
  $.fbuilder['forms'] = $.fbuilder['forms'] || {};
4
 
1
+ $.fbuilder['version'] = '1.1.128';
2
  $.fbuilder['controls'] = $.fbuilder['controls'] || {};
3
  $.fbuilder['forms'] = $.fbuilder['forms'] || {};
4
 
languages/calculated-fields-form-en_US.mo CHANGED
Binary file
languages/calculated-fields-form-en_US.po CHANGED
@@ -1,8 +1,8 @@
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
- "POT-Creation-Date: 2022-11-09 16:17+0100\n"
5
- "PO-Revision-Date: 2022-11-09 16:17+0100\n"
6
  "Last-Translator: CodePeople\n"
7
  "Language-Team: \n"
8
  "Language: en_US\n"
@@ -91,7 +91,7 @@ msgid "Select a revision"
91
  msgstr ""
92
 
93
  #: inc/cpcff_admin_int.inc.php:108 inc/cpcff_admin_int.inc.php:250
94
- #: inc/cpcff_admin_int.inc.php:672
95
  msgid "Preview"
96
  msgstr ""
97
 
@@ -140,7 +140,7 @@ msgid "Field Settings"
140
  msgstr ""
141
 
142
  #: inc/cpcff_admin_int.inc.php:249 inc/cpcff_admin_int.inc.php:379
143
- #: inc/cpcff_admin_int.inc.php:720
144
  msgid "Save Changes"
145
  msgstr ""
146
 
@@ -202,8 +202,8 @@ msgstr ""
202
 
203
  #: inc/cpcff_admin_int.inc.php:303 inc/cpcff_admin_int.inc.php:364
204
  #: inc/cpcff_admin_int.inc.php:451 inc/cpcff_admin_int.inc.php:537
205
- #: inc/cpcff_admin_int.inc.php:590 inc/cpcff_admin_int.inc.php:636
206
- #: inc/cpcff_admin_int.inc.php:709
207
  msgid "Up to form structure"
208
  msgstr ""
209
 
@@ -265,12 +265,12 @@ msgid ""
265
  "Divi, and for the other page builders insert the shortcode directly."
266
  msgstr ""
267
 
268
- #: inc/cpcff_admin_int.inc.php:382 inc/cpcff_admin_int.inc.php:723
269
  #: inc/cpcff_admin_int_list.inc.php:436
270
  msgid "Request Custom Modifications"
271
  msgstr ""
272
 
273
- #: inc/cpcff_admin_int.inc.php:382 inc/cpcff_admin_int.inc.php:723
274
  #: inc/cpcff_admin_int_list.inc.php:436 inc/cpcff_main.inc.php:218
275
  msgid "Help"
276
  msgstr ""
@@ -376,8 +376,8 @@ msgstr ""
376
  msgid "Enable Paypal Payments?"
377
  msgstr ""
378
 
379
- #: inc/cpcff_admin_int.inc.php:463 inc/cpcff_admin_int.inc.php:565
380
- #: inc/cpcff_admin_int.inc.php:607 inc/cpcff_admin_int.inc.php:652
381
  msgid "No"
382
  msgstr ""
383
 
@@ -463,120 +463,128 @@ msgstr ""
463
  msgid "Prompt for an address and require one"
464
  msgstr ""
465
 
466
- #: inc/cpcff_admin_int.inc.php:542
 
 
 
 
 
 
 
 
467
  msgid "Form Processing / Email Settings"
468
  msgstr ""
469
 
470
- #: inc/cpcff_admin_int.inc.php:546
471
  msgid "\"From\" email"
472
  msgstr ""
473
 
474
- #: inc/cpcff_admin_int.inc.php:547
475
  msgid ""
476
  "This email is required if the \"From fixed email address\" option is "
477
  "selected, or it is enabled the email copy to the user."
478
  msgstr ""
479
 
480
- #: inc/cpcff_admin_int.inc.php:550
481
  msgid "Destination emails (comma separated)"
482
  msgstr ""
483
 
484
- #: inc/cpcff_admin_int.inc.php:554 inc/cpcff_admin_int.inc.php:616
485
  msgid "Email subject"
486
  msgstr ""
487
 
488
- #: inc/cpcff_admin_int.inc.php:558
489
  msgid "Include additional information?"
490
  msgstr ""
491
 
492
- #: inc/cpcff_admin_int.inc.php:563 inc/cpcff_admin_int.inc.php:605
493
- #: inc/cpcff_admin_int.inc.php:650
494
  msgid "Yes"
495
  msgstr ""
496
 
497
- #: inc/cpcff_admin_int.inc.php:566
498
  msgid ""
499
  "If the \"No\" option is selected the plugin won't capture the IP address of "
500
  "users."
501
  msgstr ""
502
 
503
- #: inc/cpcff_admin_int.inc.php:570
504
  msgid "Thank you page (after sending the message)"
505
  msgstr ""
506
 
507
- #: inc/cpcff_admin_int.inc.php:574 inc/cpcff_admin_int.inc.php:620
508
  msgid "Email format?"
509
  msgstr ""
510
 
511
- #: inc/cpcff_admin_int.inc.php:579 inc/cpcff_admin_int.inc.php:625
512
  msgid "Plain Text (default)"
513
  msgstr ""
514
 
515
- #: inc/cpcff_admin_int.inc.php:581 inc/cpcff_admin_int.inc.php:627
516
  msgid "HTML (use html in the textarea below)"
517
  msgstr ""
518
 
519
- #: inc/cpcff_admin_int.inc.php:586 inc/cpcff_admin_int.inc.php:632
520
  msgid "Message"
521
  msgstr ""
522
 
523
- #: inc/cpcff_admin_int.inc.php:596
524
  msgid "Email Copy to User"
525
  msgstr ""
526
 
527
- #: inc/cpcff_admin_int.inc.php:600
528
  msgid "Send confirmation/thank you message to user?"
529
  msgstr ""
530
 
531
- #: inc/cpcff_admin_int.inc.php:612
532
  msgid "Email field on the form"
533
  msgstr ""
534
 
535
- #: inc/cpcff_admin_int.inc.php:641
536
  msgid "Captcha Verification"
537
  msgstr ""
538
 
539
- #: inc/cpcff_admin_int.inc.php:645
540
  msgid "Use Captcha Verification?"
541
  msgstr ""
542
 
543
- #: inc/cpcff_admin_int.inc.php:658
544
  msgid "Width"
545
  msgstr ""
546
 
547
- #: inc/cpcff_admin_int.inc.php:660
548
  msgid "Height"
549
  msgstr ""
550
 
551
- #: inc/cpcff_admin_int.inc.php:662
552
  msgid "Chars"
553
  msgstr ""
554
 
555
- #: inc/cpcff_admin_int.inc.php:667
556
  msgid "Min font size"
557
  msgstr ""
558
 
559
- #: inc/cpcff_admin_int.inc.php:669
560
  msgid "Max font size"
561
  msgstr ""
562
 
563
- #: inc/cpcff_admin_int.inc.php:674
564
  msgid "security code"
565
  msgstr ""
566
 
567
- #: inc/cpcff_admin_int.inc.php:680
568
  msgid "Noise"
569
  msgstr ""
570
 
571
- #: inc/cpcff_admin_int.inc.php:682
572
  msgid "Noise Length"
573
  msgstr ""
574
 
575
- #: inc/cpcff_admin_int.inc.php:687
576
  msgid "Background"
577
  msgstr ""
578
 
579
- #: inc/cpcff_admin_int.inc.php:694
580
  msgid "Font"
581
  msgstr ""
582
 
1
  msgid ""
2
  msgstr ""
3
  "Project-Id-Version: \n"
4
+ "POT-Creation-Date: 2022-11-14 21:55+0100\n"
5
+ "PO-Revision-Date: 2022-11-14 21:55+0100\n"
6
  "Last-Translator: CodePeople\n"
7
  "Language-Team: \n"
8
  "Language: en_US\n"
91
  msgstr ""
92
 
93
  #: inc/cpcff_admin_int.inc.php:108 inc/cpcff_admin_int.inc.php:250
94
+ #: inc/cpcff_admin_int.inc.php:682
95
  msgid "Preview"
96
  msgstr ""
97
 
140
  msgstr ""
141
 
142
  #: inc/cpcff_admin_int.inc.php:249 inc/cpcff_admin_int.inc.php:379
143
+ #: inc/cpcff_admin_int.inc.php:730
144
  msgid "Save Changes"
145
  msgstr ""
146
 
202
 
203
  #: inc/cpcff_admin_int.inc.php:303 inc/cpcff_admin_int.inc.php:364
204
  #: inc/cpcff_admin_int.inc.php:451 inc/cpcff_admin_int.inc.php:537
205
+ #: inc/cpcff_admin_int.inc.php:600 inc/cpcff_admin_int.inc.php:646
206
+ #: inc/cpcff_admin_int.inc.php:719
207
  msgid "Up to form structure"
208
  msgstr ""
209
 
265
  "Divi, and for the other page builders insert the shortcode directly."
266
  msgstr ""
267
 
268
+ #: inc/cpcff_admin_int.inc.php:382 inc/cpcff_admin_int.inc.php:733
269
  #: inc/cpcff_admin_int_list.inc.php:436
270
  msgid "Request Custom Modifications"
271
  msgstr ""
272
 
273
+ #: inc/cpcff_admin_int.inc.php:382 inc/cpcff_admin_int.inc.php:733
274
  #: inc/cpcff_admin_int_list.inc.php:436 inc/cpcff_main.inc.php:218
275
  msgid "Help"
276
  msgstr ""
376
  msgid "Enable Paypal Payments?"
377
  msgstr ""
378
 
379
+ #: inc/cpcff_admin_int.inc.php:463 inc/cpcff_admin_int.inc.php:575
380
+ #: inc/cpcff_admin_int.inc.php:617 inc/cpcff_admin_int.inc.php:662
381
  msgid "No"
382
  msgstr ""
383
 
463
  msgid "Prompt for an address and require one"
464
  msgstr ""
465
 
466
+ #: inc/cpcff_admin_int.inc.php:544
467
+ msgid ""
468
+ "If you or your users do not receive the notification emails, they are "
469
+ "probably being blocked by the web server. If so, install any of the SMTP "
470
+ "connection plugins distributed through the WordPress directory, and "
471
+ "configure it to use your hosting provider's SMTP server."
472
+ msgstr ""
473
+
474
+ #: inc/cpcff_admin_int.inc.php:552
475
  msgid "Form Processing / Email Settings"
476
  msgstr ""
477
 
478
+ #: inc/cpcff_admin_int.inc.php:556
479
  msgid "\"From\" email"
480
  msgstr ""
481
 
482
+ #: inc/cpcff_admin_int.inc.php:557
483
  msgid ""
484
  "This email is required if the \"From fixed email address\" option is "
485
  "selected, or it is enabled the email copy to the user."
486
  msgstr ""
487
 
488
+ #: inc/cpcff_admin_int.inc.php:560
489
  msgid "Destination emails (comma separated)"
490
  msgstr ""
491
 
492
+ #: inc/cpcff_admin_int.inc.php:564 inc/cpcff_admin_int.inc.php:626
493
  msgid "Email subject"
494
  msgstr ""
495
 
496
+ #: inc/cpcff_admin_int.inc.php:568
497
  msgid "Include additional information?"
498
  msgstr ""
499
 
500
+ #: inc/cpcff_admin_int.inc.php:573 inc/cpcff_admin_int.inc.php:615
501
+ #: inc/cpcff_admin_int.inc.php:660
502
  msgid "Yes"
503
  msgstr ""
504
 
505
+ #: inc/cpcff_admin_int.inc.php:576
506
  msgid ""
507
  "If the \"No\" option is selected the plugin won't capture the IP address of "
508
  "users."
509
  msgstr ""
510
 
511
+ #: inc/cpcff_admin_int.inc.php:580
512
  msgid "Thank you page (after sending the message)"
513
  msgstr ""
514
 
515
+ #: inc/cpcff_admin_int.inc.php:584 inc/cpcff_admin_int.inc.php:630
516
  msgid "Email format?"
517
  msgstr ""
518
 
519
+ #: inc/cpcff_admin_int.inc.php:589 inc/cpcff_admin_int.inc.php:635
520
  msgid "Plain Text (default)"
521
  msgstr ""
522
 
523
+ #: inc/cpcff_admin_int.inc.php:591 inc/cpcff_admin_int.inc.php:637
524
  msgid "HTML (use html in the textarea below)"
525
  msgstr ""
526
 
527
+ #: inc/cpcff_admin_int.inc.php:596 inc/cpcff_admin_int.inc.php:642
528
  msgid "Message"
529
  msgstr ""
530
 
531
+ #: inc/cpcff_admin_int.inc.php:606
532
  msgid "Email Copy to User"
533
  msgstr ""
534
 
535
+ #: inc/cpcff_admin_int.inc.php:610
536
  msgid "Send confirmation/thank you message to user?"
537
  msgstr ""
538
 
539
+ #: inc/cpcff_admin_int.inc.php:622
540
  msgid "Email field on the form"
541
  msgstr ""
542
 
543
+ #: inc/cpcff_admin_int.inc.php:651
544
  msgid "Captcha Verification"
545
  msgstr ""
546
 
547
+ #: inc/cpcff_admin_int.inc.php:655
548
  msgid "Use Captcha Verification?"
549
  msgstr ""
550
 
551
+ #: inc/cpcff_admin_int.inc.php:668
552
  msgid "Width"
553
  msgstr ""
554
 
555
+ #: inc/cpcff_admin_int.inc.php:670
556
  msgid "Height"
557
  msgstr ""
558
 
559
+ #: inc/cpcff_admin_int.inc.php:672
560
  msgid "Chars"
561
  msgstr ""
562
 
563
+ #: inc/cpcff_admin_int.inc.php:677
564
  msgid "Min font size"
565
  msgstr ""
566
 
567
+ #: inc/cpcff_admin_int.inc.php:679
568
  msgid "Max font size"
569
  msgstr ""
570
 
571
+ #: inc/cpcff_admin_int.inc.php:684
572
  msgid "security code"
573
  msgstr ""
574
 
575
+ #: inc/cpcff_admin_int.inc.php:690
576
  msgid "Noise"
577
  msgstr ""
578
 
579
+ #: inc/cpcff_admin_int.inc.php:692
580
  msgid "Noise Length"
581
  msgstr ""
582
 
583
+ #: inc/cpcff_admin_int.inc.php:697
584
  msgid "Background"
585
  msgstr ""
586
 
587
+ #: inc/cpcff_admin_int.inc.php:704
588
  msgid "Font"
589
  msgstr ""
590