Calculated Fields Form - Version 1.0.435

Version Description

  • Implements the REMAINDER operation.
Download this release

Release Info

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

Code changes from version 1.0.429 to 1.0.435

README.txt CHANGED
@@ -949,6 +949,42 @@ This way the special characters should show correctly.
949
 
950
  == Changelog ==
951
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
952
  = 1.0.429 =
953
 
954
  * Modifies the date/time control to fix an issue with the default dates.
@@ -970,43 +1006,8 @@ This way the special characters should show correctly.
970
 
971
  * Assign different colors to the fields in the form builder to identify them more easily.
972
 
973
- = 1.0.425 =
974
-
975
- * Updates the jQuery-UI version used by the plugin to prevent conflicts with other plugins and themes.
976
- * Allows protecting the generated PDF files (Platinum version of the plugin).
977
-
978
- = 1.0.424 =
979
-
980
- * Modifies the slider control allowing to update the corner captions dynamically.
981
-
982
- = 1.0.423 =
983
-
984
- * Modifies the settings of every control to improve the user interaction.
985
- * Includes the NPER operation in the Financial Operations Module (Developer and Platinum versions of the plugin).
986
- * Modifies the Users Registration Form add-on allowing to hide the registration form for registered users (Developer and Platinum versions of the plugin).
987
- * Improves the code of the add-ons reducing duplication (Developer and Platinum versions of the plugin).
988
-
989
- = 1.0.422 =
990
-
991
- * Modifies the settings of every control to improve the user interaction.
992
- * Fixes an issue in the CSV data-source in the DS controls (Developer and Platinum versions of the plugin).
993
- * Modifies the Users Permissions add-on to allow the administrators to filter the data by the collected information. Furthermore, it includes a new button in the Messages section for those entries associated with registered users (Developer and Platinum versions of the plugin).
994
-
995
- = 1.0.421 =
996
-
997
- * Fixes an issue with the default date in the date/time fields.
998
- * Implements the SCIENTIFICTODECIMAL operation to transform a number in scientific to decimal notation.
999
- * Modifies the Users Permissions add-on to allow the administrators to edit the entries of other users directly through the [CP_CALCULATED_FIELDS_USER_SUBMISSIONS_LIST] shortcode and the public form (Developer and Platinum versions of the plugin).
1000
-
1001
- = 1.0.420 =
1002
-
1003
- * Modifies the email controls to accept regular expressions for validation.
1004
- * Modifies the password controls to accept regular expressions for validation.
1005
- * Include minor modifications in the styles of phone controls.
1006
- * Modifies the appearance of messages table in the commercial versions of the plugin.
1007
-
1008
  == Upgrade Notice ==
1009
 
1010
- = 1.0.429 =
1011
 
1012
  Important note: If you are using the Professional version don't update via the WP dashboard but using your personal update link. Contact us if you need further information: http://cff.dwbooster.com/contact-us
949
 
950
  == Changelog ==
951
 
952
+ = 1.0.435 =
953
+
954
+ * Implements the REMAINDER operation.
955
+
956
+ = 1.0.434 =
957
+
958
+ * Fixes a minor issue in the radio buttons controls.
959
+ * Modifies the WooCommerce add-on to allow editing the products added to the cart (Developer and Platinum versions).
960
+ * Modifies the Users Permissions add-on (Developer and Platinum versions).
961
+
962
+ = 1.0.433 =
963
+
964
+ * Modifies the collapsible behavior in the fieldset fields.
965
+ * Includes additional validations in the DS fields (Developer and Platinum versions).
966
+ * Fixes a conflict with the reCAPTCHA styles (Developer and Platinum versions).
967
+
968
+ = 1.0.432 =
969
+
970
+ * Modifies the previsualization for forms as the pages of the form.
971
+ * Fixes a conflict with the Jetpack Lazy Load images.
972
+ * Modifies the module to prevent the thank you page be cached (Professional, Developer, and Platinum versions).
973
+ * Modifies the popup for data edition in the Users Permissions add-on (Developer and Platinum versions).
974
+
975
+ = 1.0.431 =
976
+
977
+ * Allows sorting the forms list by their ids or names.
978
+ * Modifies the default values on phone controls.
979
+ * Modifies the MailChimp add-on in the Platinum version of the plugin.
980
+
981
+ = 1.0.430 =
982
+
983
+ * Includes minor changes in the Single Line Text, Password, and Email controls.
984
+ * Fixes an issue with the back button on browsers.
985
+ * Improves the performance of the CSV Generator add-on in the Platinum version of the plugin.
986
+ * Modifies the Twilio add-on in the Platinum version of the plugin.
987
+
988
  = 1.0.429 =
989
 
990
  * Modifies the date/time control to fix an issue with the default dates.
1006
 
1007
  * Assign different colors to the fields in the form builder to identify them more easily.
1008
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1009
  == Upgrade Notice ==
1010
 
1011
+ = 1.0.435 =
1012
 
1013
  Important note: If you are using the Professional version don't update via the WP dashboard but using your personal update link. Contact us if you need further information: http://cff.dwbooster.com/contact-us
changelog.txt CHANGED
@@ -1,5 +1,41 @@
1
  == Changelog ==
2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3
  = 1.0.429 =
4
 
5
  * Modifies the date/time control to fix an issue with the default dates.
@@ -657,1397 +693,4 @@
657
 
658
  = 1.0.300 =
659
 
660
- * Improves the code that creates the relationship between the fields' attributes and other fields in the form, furthermore, fixes some issues between this relationships and the dependencies.
661
-
662
- = 1.0.299 =
663
-
664
- * Modifies the Number and Currency controls allowing enter the name of other fields as the MAX and MIN attributes to define a relationship between the fields.
665
-
666
- = 1.0.298 =
667
-
668
- * Fixes an issue applying the stringify to the JSON object of form's structure.
669
-
670
- = 1.0.297 =
671
-
672
- * Includes the integration with an advanced equations editor.
673
-
674
- = 1.0.296 =
675
-
676
- * Modifies the template 11 to fix a conflict with the Mega Addons For WPBakery Page Builder.
677
-
678
- = 1.0.295 =
679
-
680
- * Edits some styles that were redefined by the website's themes, breaking the forms' structures.
681
- * Optimizes other styles defined in the plugin.
682
- * Prevents that some files, required only by Elementor in the edition context, be loaded in the public website.
683
- * Includes the new attribute in_tag (whose accepted values are: img or a) to be used with the special fields' tags <%fieldname#_url%> and <%fieldname#_urls%> into the notification emails and thank you pages, to include images tags or anchors to the uploaded files (Professional, Developer and Platinum versions of the plugin).
684
-
685
- = 1.0.294 =
686
-
687
- * Modifies the Upload File control for showing a preview of selected files before upload them.
688
-
689
- = 1.0.293 =
690
-
691
- * Modifies the module that evaluates the equations to fix a conflict with forms created by other plugins.
692
-
693
- = 1.0.292 =
694
-
695
- * Modifies all predefined templates and the forms' styles improving them and fixing some conflicts.
696
- * Fixes some typos.
697
- * If the thank you page is not defined, the user is redirected to the website's home page after submit the form (Professional, Developer and Platinum versions of the plugin)
698
- * If the text of the notification email is empty, the plugin sends a summary of the information collected by the form (Professional, Developer and Platinum versions of the plugin)
699
- * Improves the module that determines the default emails addresses for the From and Destination attributes in the form's settings (Professional, Developer and Platinum versions of the plugin)
700
- * Improves the appearance of the PayPal Pro fields (Platinum version of the plugin)
701
-
702
- = 1.0.291 =
703
-
704
- * Removes some deprecated functions from the PHP 7.2
705
-
706
- = 1.0.290 =
707
-
708
- * Modifies the dependencies (Checkbox, Radio Buttons, DropDown, Container fields, Calculated fields).
709
- * Modifies the date/time control for defining the aria-labels for screen readers.
710
- * Fixes an issue that causes the loopback request to the site fails, caused by the sessions management (Professional, Developer and Platinum versions of the plugin).
711
- * Includes a new attribute in the troubleshoot section for starting the session as soon as possible (in case of conflict with other plugins) (Professional, Developer, and Platinum versions of the plugin).
712
- * Modifies the PayPal Pro add-on (Platinum version of the plugin).
713
-
714
- = 1.0.289 =
715
-
716
- * Improves the Widgets for Page Builder by SiteOrigin.
717
- * Improves the Widgets for Elementor.
718
- * Includes a new block for inserting the results list shortcode in the Gutenberg editor (Professional, Developer and Platinum versions of the plugin).
719
- * Includes a new icon for inserting the results list shortcode in the Classic WordPress editor (Professional, Developer and Platinum versions of the plugin).
720
- * Modifies the module that generates the default email address used in the "from" attribute (Professional, Developer and Platinum versions of the plugin).
721
- * Fixes some errors in the CFF - CSV Generator add-on (Platinum version of the plugin).
722
-
723
- = 1.0.288 =
724
-
725
- * Implements new Widgets to allow the specific integration with the Page Builder by SiteOrigin.
726
- * Improves the integration with the other pages builders.
727
- * Modifies the Appearance/Widget, allowing to associate a class name to the form, and pass to it additional attributes (Professional, Developer and Platinum versions of the plugin).
728
- * Includes minimum changes in the CFF - WooCommerce add-on (Developer and Platinum versions of the plugin).
729
-
730
- = 1.0.287 =
731
-
732
- * Fixes an issue that causes the loopback request to the site fails.
733
-
734
- = 1.0.286 =
735
-
736
- * Modifies the blocks for the Gutenberg editor, preparing the plugin for WordPress 5.1
737
-
738
- = 1.0.285 =
739
-
740
- * Fixes an issue in the date/time controls.
741
-
742
- = 1.0.284 =
743
-
744
- * Fixes some issues in the slider control.
745
- * Modifies the Date controls allowing to enter other fields' names as the min and max attributes.
746
- * Modifies the Captcha generator to fix a conflict with other plugins.
747
- * Includes some minimal changes in the DS fields (Developer and Platinum versions of the plugin).
748
- * Includes some minimal changes in the interface of the Users Permissions add-on. Assings class names to the different tags in the list of users submissions (Developer and Platinum versions of the plugin).
749
- * Modifies the CSV Generator add-on to improve the security in the generated CSV files.
750
-
751
- = 1.0.283 =
752
-
753
- * Modifies the code that assigns the default values to the slider control.
754
-
755
- = 1.0.282 =
756
-
757
- * Fixes an issue in the slider controls.
758
-
759
- = 1.0.281 =
760
-
761
- * Fixes a conflict with older browsers.
762
- * Modifies the SESSION Management module.
763
- * Includes a new module for cleaning the expired transients.
764
- * The Platinum version of the plugin includes the CSV Generator add-on.
765
-
766
- = 1.0.280 =
767
-
768
- * Modifies the slider controls allowing to integrate other fields in the form with the attributes: min, max and step, and vary them dynamically at runtime.
769
- * Modifies the predefined template 12 to display the down arrow in the DropDown fields.
770
- * Allows to include the tags of the Section Break controls in the notification emails and thank you pages (Professional, Developer and Platinum verisons of the plugin)
771
-
772
- = 1.0.279 =
773
-
774
- * Fixes an issue with the tooltips defined in the radio buttons and checkbox controls.
775
-
776
- = 1.0.278 =
777
-
778
- * Modifies the module that generates the forms' previews, and the AMP versions of forms.
779
- * Implements the specific integration with the Elementor pages builder.
780
- * Improves the forms appearance in small screens.
781
-
782
- = 1.0.277 =
783
-
784
- * Improves the some of predefined templates.
785
- * Optimizes the form's styles.
786
- * Allows to includes images and html tags in the tooltips.
787
- * Fixes an issue printing the list of messages when includes images (Professional, Developer, and Platinum versions of the plugin)
788
-
789
- = 1.0.276 =
790
-
791
- * Implements a new columns system to format the forms easier.
792
-
793
- = 1.0.275 =
794
-
795
- * Includes new operations: RADIANS to convert an angle in degrees to radians, DEGREES to convert a number in radians to degrees, ATANH to get the hyperbolic arctangent of a number.
796
- * Includes new controls in the interface of the equations edition: SIN, COS, TAN, ASIN, ACOS, ATAN, ATAN2, ATANH, RADIANS, DEGREES.
797
-
798
- = 1.0.274 =
799
-
800
- * Modifies the blocks dimensions.
801
- * Fixes an issue editing the additional attributes.
802
- * Includes the Form ID in the submissions list.
803
-
804
- = 1.0.273 =
805
-
806
- * Improves the integration with the Gutenberg editor.
807
-
808
- = 1.0.272 =
809
-
810
- * Modifies the nonces to increase the plugin's security.
811
- * Fixes some little issues with the messages list.
812
-
813
- = 1.0.271 =
814
-
815
- * Fixes an issue between the Promote Banner and the official distribution of WP5.0
816
-
817
- = 1.0.270 =
818
-
819
- * Includes new validations to prevent conflicts with wp-cron.
820
- * Modifies the location of fields handler in the forms builder for dragging the fields easier.
821
- * Modifies the styles in the public forms for fixing a conflict with some themes when the fields are distributed in columns.
822
-
823
- = 1.0.269 =
824
-
825
- * Fixes an issue managing the sessions.
826
-
827
- = 1.0.268 =
828
-
829
- * Modifies the management of sessions.
830
- * Modifies the use of nonces and captcha.
831
-
832
- = 1.0.267 =
833
-
834
- * Fixes an issue in the PREC operation.
835
-
836
- = 1.0.266 =
837
-
838
- * Modifies the PREC operation.
839
- * Modifies the rounding operations: ROUND, FLOOR, CEIL.
840
- * Fixes an issue calculating the seconds in the DATEDIFF operation in the DATE/TIME operations module (Developer and Platinum versions of the plugin)
841
-
842
- = 1.0.265 =
843
-
844
- * Fixes an issue with the thousands separator in the number fields.
845
-
846
- = 1.0.264 =
847
-
848
- * Packs the getField operation into new operations module to be inserted directly from the equations editor.
849
-
850
- = 1.0.263 =
851
-
852
- * Fixes another conflict with the Speed Booster Pack plugin.
853
- * Includes a new operation to access easier to the fields, for example to assign a value to the slider field: fieldname1, enter as part of the equation getField(1).setVal(50);
854
-
855
- = 1.0.262 =
856
-
857
- * Fixes a conflict with the new version of Gutenberg.
858
-
859
- = 1.0.261 =
860
-
861
- * Allows read the raw values of every field in the form.
862
- * Fixes a conflict with some themes that apply a max-width css rule to the form's fields.
863
- * Fixes a conflict with the Speed Booster Pack plugin.
864
-
865
- = 1.0.260 =
866
-
867
- * Fixes an issue in the controls: radio button, checkbox and dropdown.
868
-
869
- = 1.0.259 =
870
-
871
- * Fixes an issue in the date/time fields that allows select by default an invalid time.
872
- * Suppports other plugins for managing the AMP versions of pages.
873
- * Includes other minor changes.
874
- * Modifies the iCal add-on (Platinum version of plugin)
875
- * Includes the PrintFriendly add-on (Platinum version of plugin)
876
-
877
- = 1.0.258 =
878
-
879
- * Allows to use the Acceptance fields into the equations.
880
- * Modifies the selector to the tag with the price of the product to replace in the CFF - WooCommerce add-on (Developer and Platinum versions of the plugin)
881
- * Allows to use other special constants like: submissiondate_mmddyyyy, submissiondate_ddmmyyyy, and ipaddress, in the integration with WebHooks URLs (Developer and Platinum versions of the plugin) and the WebMerge add-on (the Platinum version of the plugin).
882
-
883
- = 1.0.257 =
884
-
885
- * Modifies the date/time field doing the time components more coherents, and fixes an issue in the field's validation. Applies the styles for errors to the time components.
886
- * Applies different class names to the different components in the slider fields to take total control to their visual appearance.
887
- * Categorizes the add-ons for grouping them in the settings page of the plugin (Developer and Platinum versions of the plugin).
888
-
889
- = 1.0.256 =
890
-
891
- * Fixes an issue with Date/Time fields in multi-pages forms. In multi-pages forms if the date/time field is the first one in the page, the datepicker dialog was displayed by default, now this behavior has been solved.
892
- * Includes the Autocomplete Places add-on, alternative to the Google Places add-on but using the Photon API (Distributed with the Platinum version of the plugin)
893
-
894
- = 1.0.255 =
895
-
896
- * Fixes an issue with No Cents attribute in the currency fields.
897
-
898
- = 1.0.254 =
899
-
900
- * Fixes an issue with the values of the checkbox fields when its used the modifier |r in the equations.
901
- * Fixes an issue in the tags replacements in the thank you pages and notifiation emails (Professional, Developer and Platinum versions)
902
-
903
- = 1.0.253 =
904
-
905
- * Modifies the currency fields to allow configure them for accepting only the whole part of value and for disabling the cents.
906
- * Modifies the template 11.
907
- * Allows to include the Instruct. Text fields in the thank you pages and notification emails (Professional, Developer and Platinum versions of the plugin).
908
-
909
- = 1.0.252 =
910
-
911
- * Fixes an issue in the public forms when the general texts are entered with apostrophes, escaping them.
912
- * Includes new actions and filters.
913
- * Modifies the code of the plugin to prevent an issue caused with a bug in the isNumeric method of jQuery, present in previous versions of the framework that are still used in many distributions of WordPress.
914
- * Fixes an issue with the block tags in the notification emails and thank you pages when are associated to DropDown fields configured as multi-select (Professional, Developer and Platinum versions of the plugin).
915
-
916
- = 1.0.251 =
917
-
918
- * Modifies the Date/Time control to allow the use of other date formats, as well as the symbol to use as separator between the dates' components.
919
- * Fixes an issue with the paddings in the Template 11.
920
- * Modifies the WooCommerce add-on in the Developer and Platinum versions of the plugin, to include a pair of javascript variables with global scope: woocommerce_cpcff_product and woocommerce_cpcff_product_price for the product's id and price, respectively.
921
-
922
- = 1.0.250 =
923
-
924
- * Hides the promotion banner for the majority of roles and fixes a conflict between the promotion banner and the Gutenberg editor.
925
- * Modifies the PayPal Pro add-on (Platinum version of the plugin)
926
-
927
- = 1.0.249 =
928
-
929
- * Fixes an issue in the AMP pages when the AMP Takeover option is enabled in the AMPforWP plugin.
930
- * Fixes an issue in the MailChimp add-on allowing to access to more than 10 lists in Mailchimp (Platinum version of the plugin).
931
-
932
- = 1.0.248 =
933
-
934
- * Modifies the integration with the Guetenberg editor, replacing the deprecated methods with the new ones.
935
- * Includes a new attribute in the PayPal settings for prompting (or not) the buyer's shipping address.
936
-
937
- = 1.0.247 =
938
-
939
- * Manages the browser's history to allow moving between the different pages of the multi-pages forms with the next/back buttons on the browser.
940
- * Modifies the WooCommerce add-on (in the Developer and Platinum versions of the plugin) to pre-fill the fields in the form for the weight, length, width and heigth of product.
941
-
942
- = 1.0.246 =
943
-
944
- * Improves the drag and drop of fields into the forms builder.
945
- * Allows create dependencies with the Section Break controls.
946
- * Removes obsolete texts from the interface of plugin.
947
- * Improves the Users Permissions add-on distributed with the Developer and Platinum versions of the plugin.
948
- * Modifies the data-source controls in the Developer and Platinum versions of the plugin, implementing the connection to databases using PDO, allowing to read the data from multiple database engines, like: MySQL, Postgresql, MSSQL Server, SQLite, and many others.
949
-
950
- = 1.0.245 =
951
-
952
- * Modifies the currency and number controls to not apply the format to the default values when corresponding the checkbox is unticked.
953
- * Solves some issues with the dependencies.
954
- * Solves some accessibility issues, like labels without 'for' attributes or multiple elements with the same id.
955
-
956
- = 1.0.244 =
957
-
958
- * Fixes an issue with themes that include Bootstrap.
959
- * Fixes an issue with the forms' previews when the classic option is selected for loading the plugin's resources.
960
-
961
- = 1.0.243 =
962
-
963
- * Modifies the Summary control to solve an issue when are left the fields in blank.
964
- * Modifies the AMP versions of forms, and forms' previews to solve an issue with other plugins and themes like DIVI.
965
-
966
- = 1.0.242 =
967
-
968
- * Fixes an issue with a column in the plugin's database.
969
-
970
- = 1.0.241 =
971
-
972
- * Fixes an issue in the equations, when the values of fields include backslash symbols.
973
-
974
- = 1.0.240 =
975
-
976
- * Includes a new attribute in Radio Buttons and Radio Buttons DS fields to allow tick/untick the choices (similar to the checkboxes), or preserve the radio buttons default behavior.
977
- * The plugin tries to extract numbers from the fields values to be used in the equations. This update allows to use a modifier with the fields' names in the equations to use the fields' values without processing. Ex: fieldname1|r (|r for raw)
978
-
979
- = 1.0.239 =
980
-
981
- * Removes some notices generated in the use of dbDelta function.
982
- * Fixes another issue cloning the forms.
983
-
984
- = 1.0.238 =
985
-
986
- * Removes a notice when a form is cloned.
987
-
988
- = 1.0.237 =
989
-
990
- * Modifies the create table queries in the plugin's core and add-ons to reduce and optimize the database's queries.
991
- * Fixes a little issue with the currency and number fields that not allows clear the fields' values.
992
- * Fixes an issue with the attribute: if_value_is_not in the fields' tags of notification emails and thank you pages.
993
-
994
- = 1.0.236 =
995
-
996
- * Prevents possible conflicts with other plugins in the forms preview.
997
- * Allows edit the forms submissions from the Messages section (Professional, Developer and Platinum versions of the plugin).
998
- * Supports nested shortcodes into the content of the shortcodes: [CP_CALCULATED_FIELDS_RESULT] and [CP_CALCULATED_FIELDS_RESULT_LIST] (Professional, Developer and Platinum versions of the plugin).
999
- * Modifies the Signature add-on, allowing to load the signature fields in the forms preview, and fixes an issue displaying the signature images in the messages section (Platinum version).
1000
-
1001
- = 1.0.235 =
1002
-
1003
- * Modifies the operations: ROUND, CEIL and FLOOR for accepting a second parameter (optional) and rounding the number in multiples of second parameter.
1004
- * Modifies the appearance of the forms builder settings in the free version of the plugin.
1005
- * The fields' tags to insert into the results shortcodes (paid versions of the plugin) accept a new set of attributes for taking more control about how and whe to include the fields (if_value_is_greater_than, if_value_is_greater_than_or_equal_to, if_value_is_less_than, if_value_is_less_than_or_equal_to, if_value_is, if_value_is_not, if_value_like and if_value_unlike)
1006
-
1007
- = 1.0.234 =
1008
-
1009
- * Modifies the code to be compatible with older versions of PHP.
1010
-
1011
- = 1.0.233 =
1012
-
1013
- * Fixes an issue generating the revisions table.
1014
-
1015
- = 1.0.232 =
1016
-
1017
- * Includes the revisions module to create different revisions of the forms when they are updated.
1018
- * Modifies the code that generates the forms to prevent that uncaugth javascript errors in the webpage affect the forms.
1019
-
1020
- = 1.0.231 =
1021
-
1022
- * Fixes an issue in the fields validation.
1023
-
1024
- = 1.0.230 =
1025
-
1026
- * Validates the values in currency fields.
1027
- * Improves the validations in the other controls.
1028
- * Improves the code to load the forms in the AMP pages.
1029
-
1030
- = 1.0.229 =
1031
-
1032
- * Fixes an issue with dependencies.
1033
-
1034
- = 1.0.228 =
1035
-
1036
- * Modifies the way that the forms builder is loaded to prevent that uncaugth javascript errors can affect it.
1037
- * Allows to define a new attribute in the forms shortcode to define the duration of the tooltips on mobiles devices. For example: [CP_CALCULATED_FIELDS id="1" tooltip_duration="10000"], in mobiles devices the tooltip will be displayed for 10 seconds, and then, it will be hidden. The number is defined in milliseconds 10000 is the equivalent to 10 seconds.
1038
- * Displays a gif animated when the form is being submitted to allow the users know that it is being processed (Professional, Developer and Platinum versions)
1039
-
1040
- = 1.0.227 =
1041
-
1042
- * Fixes an issue with the dependencies.
1043
- * Fixes an issue with the filtering conditions in RecordSet fields (Developer and Platinum versions of the plugin).
1044
-
1045
- = 1.0.226 =
1046
-
1047
- * Includes two new options in the Form Settings tab for controlling when the equations are evaluated, with the onchage events, or with the onchange and keyup events (the new options give more control over the form's performance).
1048
- * Includes the form's id and name in the Forms Builder to facilitate identify the form.
1049
- * Allows to configure the form to not capture the users' ip addresses (Professional, Developer and Platinum versions).
1050
- * Fixes an issue accepting .rar files with the Uploads add-on(Platinum version).
1051
- * Allows to select groups by default in the MailChimp add-on(Platinum version).
1052
-
1053
- = 1.0.225 =
1054
-
1055
- * Fixes an issue in the definition of dependencies in the calculated fields.
1056
-
1057
- = 1.0.224 =
1058
-
1059
- * Modifies the size of the container fields to improve dragging fields into the containers.
1060
- * Fixes an issue with the validation rules in the non-visible fields (fields into hidden containers).
1061
- * Includes a new special attribute in the form's shortcode (class), to assign class names to the forms.
1062
- * Dissables the submit button when it is pressed to prevent the form be submitted multiple times (Professional, Developer and Platinum versions).
1063
- * Fixes an issue with the Widgets (Professional, Developer and Platinum versions).
1064
- * Fixes an issue checking if the nonce that protects the public form is active or not (Professional, Developer and Platinum versions).
1065
- * Modifies the way that the cp_calculatedfieldsf_insert_in_database.php file is included, to allow include in the $params array the itemnumber, that represents the submission's id (Developer and Platinum versions).
1066
-
1067
- = 1.0.223 =
1068
-
1069
- * Modifies the default title in the Acceptance control.
1070
-
1071
- = 1.0.222 =
1072
-
1073
- * Includes the Acceptance (GDPR) control for inserting a required checkbox field in the form for asking the users their consent to store and use the information provided.
1074
-
1075
- = 1.0.221 =
1076
-
1077
- * Modifies the Next Page and Previous Page buttons to respond to the keys: space and enter, and to be selected with the tab key.
1078
- * Modifies the Checkbox fields to return the original values of the choices selected (without parsing the numbers) when is unticked the attribute for merging the values.
1079
- * Modifies the parseValStr function in the fbuilder-pro-public.jquery.js file.
1080
- * Modifies the Submit button to respond to the keys: space and enter, and to be selected with the tab key (Professional, Developer and Platinum versions of the plugin).
1081
- * Modifies special tag <%fieldname#_urls%> used in the notification emails, and thank you pages, to display each URL in its own line (Professional, Developer and Platinum versions)
1082
- * Displays an error message in the form when the coupon is checkes and it is invalid (Professional, Developer and Platinum versions)
1083
- * Fixes an issue in the link to the forms' events from the dashboard page (Professional, Developer and Platinum versions)
1084
- * Implements the special tags: <%fieldname#_nonblock%><%fieldname#_endnonblock%> to include a block of content if the fieldname# field has not being submitted or it was submitted in blank (Professional, Developer and Platinum versions)
1085
-
1086
- = 1.0.220 =
1087
-
1088
- * Modifies the dependencies in radio buttons, checkboxes, drop-down fields, containers and calculated fields.
1089
- * Modifies the htmlEncode function in the fbuilder-pro-admin.jquery.js file.
1090
- * Fixes an issue with the changes of lines in the exported CSV files with the submissions (Professional, Developer and Platinum versions)
1091
- * Allow to exlude the attachments from the notification emails (Professional, Developer and Platinum versions)
1092
- * Fixes an issue in the special tags <%fieldname#_urls%> and <%fieldname#_links%> used in the notification emails, and thank you pages (Professional, Developer and Platinum versions)
1093
- * In the WooCommerce add-on includes a new hidden tag named woocommerce_cpcff_product_price with the base price of the WooCommerce product (Developer and Platinum versions)
1094
- * In the MailChimp add-on allows to select the status of new users, between pending and subscribed (Platinum version)
1095
-
1096
- = 1.0.219 =
1097
-
1098
- * Fixes a conflict with the latest update of the 'Accelerated Mobile Pages' plugin.
1099
-
1100
- = 1.0.218 =
1101
-
1102
- * Fixes an issue with the loopback requests when are being edited the code of plugins or themes in the WordPress editor.
1103
-
1104
- = 1.0.217 =
1105
-
1106
- * Includes a new attribute in some fields to convert them in read only.
1107
-
1108
- = 1.0.216 =
1109
-
1110
- * Fixes an issue with plugin installation in multisite WordPress.
1111
- * Fixes an issue with Radio Button DS and Checkbox DS fields in the Developer and Platinum versions of the plugin.
1112
- * Includes the Server Side Equations Add-On in the Developer and Platinum versions of the plugin.
1113
-
1114
- = 1.0.215 =
1115
-
1116
- * Modifies the radio button control.
1117
- * In the Developer and Platinum versions of the plugin modifies the access to the CSV files when they are hosted in secure websites.
1118
-
1119
- = 1.0.214 =
1120
-
1121
- * Fixes an issue in the module that removes the eq_factored attributes fields.
1122
-
1123
- = 1.0.213 =
1124
-
1125
- * Fixes an issue with the dependencies in the radio buttons fields.
1126
- * Fixes a conflict with the styles of the template 12 and some WordPress themes.
1127
- * Removes the eq_factored attributes (used in previous versions of the plugin) from the calculated fields.
1128
-
1129
- = 1.0.212 =
1130
-
1131
- * Fixes an issue determining the values of DropDown and DropDown DS fields.
1132
-
1133
- = 1.0.211 =
1134
-
1135
- * Generates the cached javascript file from the settings page of the plugin.
1136
- * Modifies the DropDown and Checkbox controls to allow return their values as an array (the values of choices selected or ticked) or the sum or concatenation of them.
1137
- * In the Developer and Platinum versions of the plugin were modified the DropDown DS and Checkbox DS controls.
1138
- * In the Developer and Platinum versions of the plugin were modified the operations in the Financial module to return the values without rounding.
1139
- * In the Professional, Developer and Platinum versions of the plugin was included the [CP_CALCULATED_FIELDS_RESULT_LIST] shortcode to display the list of summaries corresponding to a form.
1140
-
1141
- = 1.0.210 =
1142
-
1143
- * Fixes an issue in the DropDown controls when the multiple choices selection is enabled.
1144
-
1145
- = 1.0.209 =
1146
-
1147
- * Modifies DropDown control to allow multiple selection and to define the control size (the same behavior was implemented in the DropDown DS control in the Developer and Platinum versions of the plugin).
1148
- * Modifies the Radio Button control to allow tick/untick a choice (the same behavior was implemented in the Radio Button DS control).
1149
- * Modifies the Checkbox control to allow define a maximum number of checkable choices, and the error message if are exceeded the number of ticked choices (the same behavior was implemented in the Checkbox DS control in the Developer and Platinum versions of the plugin).
1150
- * Modifies the promotion banner.
1151
-
1152
- = 1.0.208 =
1153
-
1154
- * Modifies the copy of the jquery.validate for fixing some conflicts with third party plugins.
1155
-
1156
- = 1.0.207 =
1157
-
1158
- * Updates the latest version of jquery.validate in the plugin.
1159
- * Improves the validation rules in the "Single Line Text" and "Upload Files" controls.
1160
- * Converts the "type" attribute of email controls into email.
1161
-
1162
- = 1.0.206 =
1163
-
1164
- * Fixes a minor error, the "cff-radiobutton-field' class had been assigned at level of choices containers, and not at level of field's container as the other controls.
1165
-
1166
- = 1.0.205 =
1167
-
1168
- * Fixes some warnings when the forms' shortcodes are inserted without the id attributes.
1169
- * The Platinum version includes the Twilio add-on to integrate the forms with the Twilio service and sending notification SMS when the forms are submitted.
1170
-
1171
- = 1.0.204 =
1172
-
1173
- * Shows the fields' names (fieldname#) as tooltips of the fields inserted in the form (into the forms builder) to identify the fields easily in the equations' development.
1174
- * Includes some modifications in the Template 6.
1175
- * In the Professional, Developer and Platinum versions the plugin shown a message if the email used for registering the copy of the plugin is valid or not.
1176
- * Modifies the Stripe add-on in the Platinum version of the plugin.
1177
-
1178
- = 1.0.203 =
1179
-
1180
- * Fixes a conflict with Varnish in the free version of the plugin.
1181
- * Fixes an issue scrolling the webpage in the forms with multiple pages, when the pages don't have focusable elements.
1182
- * Modifies the DISTANCE operation in the Developer and Platinum versions.
1183
- * Modifies the following fields: DropDown DS, Checkbox DS, and RadioButton DS, in the Developer and Platinum versions of the plugin, to avoid duplicated choices.
1184
-
1185
- = 1.0.202 =
1186
-
1187
- * Fixes an issue with the session variables.
1188
- * Modifies the parameters of the cpcff_payment_processed action.
1189
-
1190
- = 1.0.201 =
1191
-
1192
- * Modifies the DropDown fields to include optgroup tags.
1193
- * Modifies the Date/Time fields.
1194
-
1195
- = 1.0.200 =
1196
-
1197
- * Improves the integration with the Gutenberg Editor.
1198
-
1199
- = 1.0.199 =
1200
-
1201
- * Allows the integration with the Gutenberg Editor, the next editor for WordPress (Includes new blocks for inserting the corresponding shortcodes).
1202
- * Replaces the icon for waiting in the AMP pages by a transparent icon.
1203
-
1204
- = 1.0.198 =
1205
-
1206
- * Removes the !important; declaration from the CSS rule into the pair of tags <style amp-custom></style> to satisfy the AMP rules.
1207
-
1208
- = 1.0.197 =
1209
-
1210
- * Modifies the redirection of the amp-iframes tags, to increase the speed loading the forms in the AMP pages.
1211
- * For the Developer and Platinum versions of the plugin, modifies the reCAPTCHA add-on.
1212
-
1213
- = 1.0.196 =
1214
-
1215
- * Fixes an issue editing the URLs of the AMP pages.
1216
- * For the Professional, Developer and Platinum versions of the plugin, the submit button is disabled when pressed, to prevent the form be submitted multiple times.
1217
-
1218
- = 1.0.195 =
1219
-
1220
- * Modifies the summary control to remove all elements are not part of the fields' labels (as the * symbol for required fields and the date/time format). Furthermore, if the fields' labels were defined with colon symbols at the end, they are removed to prevent the colon symbols be displayed twice in the summary.
1221
- * In the paid versions of the plugin applies the same modifications to the summary displayed in the thank you page and the notification emails.
1222
-
1223
- = 1.0.194 =
1224
-
1225
- * Draws an AMP restriction with the iframe tags when the URL belongs to the same website.
1226
- * Solves a minor issue determining the public URL of the website.
1227
-
1228
- = 1.0.193 =
1229
-
1230
- * Fixes a minor issue with the forms in the AMP pages.
1231
-
1232
- = 1.0.192 =
1233
-
1234
- * Allows scrolling the forms in the AMP pages when are visited from iPhones and iPads.
1235
-
1236
- = 1.0.191 =
1237
-
1238
- * Fixes an issue with the AMP version of forms.
1239
-
1240
- = 1.0.190 =
1241
-
1242
- * Allows to display the forms in AMP pages. If the AMP plugin is installed in the website and the form is inserted into an AMP page, it is loaded into a iframe tag to satisfy the AMP requirements.
1243
-
1244
- = 1.0.189 =
1245
-
1246
- * Allows to start the phone fields with the plus symbol (+) for international numbers.
1247
- * Fixes some notices.
1248
- * Reduces the number of database queries.
1249
- * Optimizes the plugin's code.
1250
-
1251
- = 1.0.188 =
1252
-
1253
- * Fixes an issue with the forms' preview in some WordPress configurations.
1254
- * The free version of the plugin solves a conflict with Varnish.
1255
- * The Developer and Platinum versions fixes some issues with external datasources.
1256
-
1257
- = 1.0.187 =
1258
-
1259
- * Fixes an issue formatting dynamically the values on number and currency fields.
1260
- * Modifies the server side scripts that generate the client side scripts to prevent issues with notices and warnings not related with our plugin.
1261
- * Modifies the WebHook add-on (for the Developer and Platinum versions of the plugin) to allow decide if sending the data to the webhook before or after receive the payments confirmations.
1262
- * Modifies the WooCommerce add-on (for the Developer and Platinum versions of the plugin) to allow define the selector of the price's tag in the products pages to update the visual price at runtime.
1263
-
1264
- = 1.0.186 =
1265
-
1266
- * Fixes an issue with the message after cloning a form.
1267
-
1268
- = 1.0.185 =
1269
-
1270
- * Fixes an issue with the access to the external links in the submenu of the plugin.
1271
-
1272
- = 1.0.184 =
1273
-
1274
- * Reduces the number of queries to database.
1275
- * For the Professional version of the plugin, modifies the module to export the forms.
1276
- * For the Developer version of the plugin, modifies the "DS" set of fields, and improves the security of database accesses.
1277
- * For the Platinum version of the plugin, fixes a notice in the MailChimp add-on.
1278
-
1279
- = 1.0.183 =
1280
-
1281
- * Modifies the database's structure to prevent issues with a wrong character set in the columns.
1282
-
1283
- = 1.0.182 =
1284
-
1285
- * Improves the access to the plugin's options.
1286
- * Fixes an issue in the CPCFF_FORM class.
1287
- * In the Professional version modifies the module that generates the content of the notification emails and thank you pages, including the special tags: <%subscription_id%> to display the id of subscription for recurrent payments, and the <%couponcode%> to include only the coupon's code without the discount message.
1288
- * In the Developer version fixes an issue in the WooCommerce add-on for displaying the summary of collected data in the shopping cart page and the orders.
1289
- * In the Platinum version fixes some issues in the payment gateway add-ons.
1290
-
1291
- = 1.0.181 =
1292
-
1293
- * Fixes the URLs to the demo, help, and upgrade pages.
1294
- * Modifies the module for the forms preview.
1295
-
1296
- = 1.0.180 =
1297
-
1298
- * Reduces the number of database queries.
1299
- * Adds new validation rules in the data received, increasing the security.
1300
- * Improves the performance and the plugin's code.
1301
-
1302
- = 1.0.179 =
1303
-
1304
- * Includes some changes in the forms' settings.
1305
-
1306
- = 1.0.178 =
1307
-
1308
- * Allows to insert the forms' shortcodes directly into the Text Widgets on sidebars.
1309
- * Improves the plugin's code and the forms' perfomance.
1310
- * In the Professional, Developer, and Platinum versions of the plugin improves the validation of the uploaded files, and the management of coupons.
1311
-
1312
- = 1.0.177 =
1313
-
1314
- * Includes the integration with the CP Blocks plugin.
1315
- * Fixes an issue in the Emma add-on distributed with the Platinum version of the plugin.
1316
-
1317
- = 1.0.176 =
1318
-
1319
- * Modifies the currency fields formatting the entered values always with the decimal places.
1320
- * Optimizes the code to strips the slashes from the submitted values.
1321
- * Fixes some warnings in the script for external data-sources integration in the Developer and Platinum versions of the plugin.
1322
-
1323
- = 1.0.175 =
1324
-
1325
- * Modifies the module to load the forms' templates, and the module that creates the javascript variables, improving the plugin's perfomance and reducing the number of instructions.
1326
- * Fixes other minor errors.
1327
-
1328
- = 1.0.174 =
1329
-
1330
- * Improves the Template 8.
1331
- * Improves the appearance of the forms builder in mobiles devices.
1332
- * Fixes other minor errors.
1333
-
1334
- = 1.0.173 =
1335
-
1336
- * Modifies the radio buttons and checkbox controls.
1337
- * Improves the forms in websites with right-to-left direction.
1338
- * Improves the accessibility of the forms builder in mobiles devices.
1339
- * Solves a conflict between the AdBlocker extension in the browsers, and the Google Analytics add-on.
1340
- * Fixes other minor errors.
1341
-
1342
- = 1.0.172 =
1343
-
1344
- * Includes the "Enable the browser's persistence" option in the form's settings. This feature persists the data entered by the users locally in their browsers, so, if an user closes the browser's tab, when visit the form again the data would be there. The data persisted are deleted when the form is submitted.
1345
-
1346
- = 1.0.171 =
1347
-
1348
- * Improves the plugin performance, its code, and the code documentation.
1349
- * Solves some issues in the Signature and Google Place add-ons for the Platinum version.
1350
-
1351
- = 1.0.170 =
1352
-
1353
- * Includes the CPCFF_MAIN class for controlling and organize the plugin's code (actions and filters).
1354
- * Sends the specific Content-Type header with the scripts of controls.
1355
-
1356
- = 1.0.169 =
1357
-
1358
- * Modifies the code that parses the JSON strings.
1359
- * Includes the write_logs method for writing the execution errors in the PHP error logs file.
1360
-
1361
- = 1.0.168 =
1362
-
1363
- * Reduces the number of database queries in the installation and update process.
1364
- * Removes unnecessary constant.
1365
- * Moves the installation code to its own file.
1366
-
1367
- = 1.0.167 =
1368
-
1369
- * New modifications in the optimization process that reduces the number of database queries, and improves the code.
1370
-
1371
- = 1.0.166 =
1372
-
1373
- * Increases the size of the "ipaddr" column in the database.
1374
-
1375
- = 1.0.165 =
1376
-
1377
- * Checks the dependencies associated to the calculated fields, even if the dynamic evaluation of the equations is disabled.
1378
- * Increases the sizes of textarea fields for entering the equations in the calculated fields, and the HTML code in the HTML Content fields.
1379
- * The Professional, Developer, and Platinum versions of the plugin accept the formid attribute in the [cp_calculatedfieldsf_form_result] shortcodes to allow the coexistence of multiple shortcodes for different forms in a same thank you page.
1380
-
1381
- = 1.0.164 =
1382
-
1383
- * Includes a new option in the "Form Settings" tab to customize the forms' designs.
1384
- * Makes all textareas controls, in the fields properties, vertically resizable to facilitate to enter the data.
1385
- * Allows to expand the controls and properties bars.
1386
- * Modifies the fields' attributes to adjust them to the new dimensions of the properties bar when it is expanded.
1387
-
1388
- = 1.0.163 =
1389
-
1390
- * Regroup the plugin's code as the first step in the optimization process.
1391
-
1392
- = 1.0.162 =
1393
-
1394
- * Modifies the javascript code to allow the integration with the CP Blocks plugin.
1395
-
1396
- = 1.0.161 =
1397
-
1398
- * Removes all unnecessary eval instructions to improves the forms' performance, and increase the security.
1399
-
1400
- = 1.0.160 =
1401
-
1402
- * Modifies the controls: checkbox, radio buttons, and dropdown to remove a code for compatibility with very outdated versions of the plugin.
1403
- * Removes the JSON class, included only for supporting PHP versions lesser than 5.2.x
1404
-
1405
- = 1.0.159 =
1406
-
1407
- * Loads the "HTML Content" fields at 100% of the form's width even if the labels are aligned at left or right.
1408
- * Allows to apply automatically the format defined in the numbers fields to the values entered by the users (Similar to the currency fields).
1409
-
1410
- = 1.0.158 =
1411
-
1412
- * Checks the PHP version before applying some functions that were included in PHP versions higher than v5.2.+
1413
-
1414
- = 1.0.157 =
1415
-
1416
- * Fixes an issue in the promote banner.
1417
-
1418
- = 1.0.156 =
1419
-
1420
- * Modifies some styles in the predefined templates.
1421
-
1422
- = 1.0.155 =
1423
-
1424
- * Modifies the module for accessing the WordPress reviews section.
1425
-
1426
- = 1.0.154 =
1427
-
1428
- * Fixes an issue in the validation of the number fields for accepting numbers in scientific (exponential) notation.
1429
-
1430
- = 1.0.153 =
1431
-
1432
- * Modifies the URLs of the admin section.
1433
- * Modifies the parameters of the json_encode function.
1434
-
1435
- = 1.0.152 =
1436
-
1437
- * Allows collapse/uncollapse the container fields in the administration section.
1438
-
1439
- = 1.0.151 =
1440
-
1441
- * Modifies the dependencies in the calculated fields.
1442
- * Modifies the module that parses the values.
1443
- * Fixes an issue with the error messages when the fields labels are aligned at left or right.
1444
-
1445
- = 1.0.150 =
1446
-
1447
- * Modifies the module that parses the values used by the equations.
1448
- * Professional Version: validates the required input fields in the server side.
1449
- * Developer Version: modifies the WooCommerce add-on, making it compatible with WooCommerce 3.x
1450
- * Platinum Version: improves the texts management in the payment gateways add-ons.
1451
-
1452
- = 1.0.149 =
1453
-
1454
- * Adds a new predefined template.
1455
- * Adds specific class names to the fields, to allow modify their appearance easier.
1456
- * Modifies the submenu options to facilitate the access to the documentation.
1457
-
1458
- = 1.0.148 =
1459
-
1460
- * Fixes an issue in the CDATE operation for dates before 1/1/1970.
1461
- * Fixes an issue with the placeholder attribute of textarea fields in multi-pages forms.
1462
- * Fixes an issue with the Radio Button DS, and Checkbox DS fields and the validation rule for required fields in multi-pages forms.
1463
-
1464
- = 1.0.147 =
1465
-
1466
- * Modifies the calculated fields for checking the dependencies the first time the equations are evaluated the first time, even if was not triggered an onchange event.
1467
-
1468
- = 1.0.146 =
1469
-
1470
- * Modifies the predefined templates and change their titles to make them more coherent.
1471
- * Adds a new template.
1472
- * Modifies the phone and container controls.
1473
-
1474
- = 1.0.145 =
1475
-
1476
- * Modifies the interface of the forms settings.
1477
-
1478
- = 1.0.144 =
1479
-
1480
- * Prevents to load some of the plugin's resources by duplicated.
1481
-
1482
- = 1.0.142 =
1483
-
1484
- * Includes a new hook, an action when a form is deleted: cpcff_delete_form, passing as parameter the form's id
1485
- * Fixes an issue when the user includes a the form's shortcode with the id of an inexistent form, or without any id.
1486
- * Fixes an issue with the sliders on mobiles when the script load method is configured as direct.
1487
-
1488
- = 1.0.141 =
1489
-
1490
- * Solves a notice message in the process of saving the form's structure in the database (when the form has a specific structure).
1491
- * Includes some little changes in the forms builder.
1492
-
1493
- = 1.0.140 =
1494
-
1495
- * Modifies the setVal method in the controls: checkboxes, radio buttons, and dropdown.
1496
- * Modifies the module that evaluates the equations to prevent some infinite loops generatedby the users.
1497
- * Homogenizes the events of controls in the administration section.
1498
-
1499
- = 1.0.139 =
1500
-
1501
- * Modifies the pagination module for scrolling to the beginning of page only if needed.
1502
- * Includes the __ME__ constant for referring in the equations to the value of the calculated field that is being calculated.
1503
-
1504
- = 1.0.138 =
1505
-
1506
- * Modifies the controls: Checkbox, Radio Buttons, and DropDown to allow the users decide the information to submit (the value or the text of choices selected).
1507
- * Fixes an issue with the ampersand symbols in the default values of fields.
1508
- * Increases the size of database's columns for email addresses(Affects the Professional, Developer, and Platinum versions of the plugin).
1509
- * Modifies the "Users Permissions" add-on to allow filtering by the form's id (Affects the Developer and Platinum versions of the plugin).
1510
-
1511
- = 1.0.137 =
1512
-
1513
- * Modifies the module that loads the templates.
1514
- * Fixes a warning message, related with the PHP Headers when there are used plugins for managing website's cache.
1515
-
1516
- = 1.0.136 =
1517
-
1518
- * Fixes an issue with the dependencies and the phones fields.
1519
- * Fixes an issue loading the default values of fields, defined with javascript.
1520
-
1521
- = 1.0.135 =
1522
-
1523
- * Allows to define validation rules in the Single Line Text fields using regular expressions.
1524
- * Allows to disable the choice selected by default in Radio Buttons and DropDown fields.
1525
- * Modifies the module that loads the forms templates to include the resources only one time in the webpage.
1526
- * Increases the value of the css rule: z-index applied to the datepicker to fixes the overlapping with the error messages.
1527
- * Creates the database tables with UTF-8 as the character encoding, to support Cyrillic characters by default (in the previous versions of the plugin, if the character encoding of website's database is not UTF-8, for supporting Cyrillic characters, would be required modify the character encoding from the troubleshoot section in the settings page of the plugin)
1528
-
1529
- = 1.0.134 =
1530
-
1531
- * Fixes an issue with the escaped quotes and double quotes.
1532
- * Improves the code for ticking and selecting the choices in radio buttons, checkboxes, and DropDown.
1533
-
1534
- = 1.0.133 =
1535
-
1536
- * Allows to define and display left and rigth captions for the slider fields.
1537
- * Improves the sessions management.
1538
- * The DropDown DS, Checkbox DS, and Radio Buttons DS fields allow to define the options to select by default.
1539
-
1540
- = 1.0.132 =
1541
-
1542
- * Includes an alternative method to load the resources required by the forms builder.
1543
-
1544
- = 1.0.131 =
1545
-
1546
- * Includes a new character encoding option for supporting utf8mb4 characters.
1547
- * Includes new menu options to facilitate the access to the plugin documentation.
1548
-
1549
- = 1.0.130 =
1550
-
1551
- * Fixes an issue in the styles related with the container controls in the forms builder.
1552
-
1553
- = 1.0.129 =
1554
-
1555
- * Improves the performance of the forms builder module (More palpable in forms with large number of fields).
1556
-
1557
- = 1.0.128 =
1558
-
1559
- * Convert single line comments in the javascript code, into multiple lines comments to prevent conflicts with plugins that minify the pages code.
1560
-
1561
- = 1.0.127 =
1562
-
1563
- * Fixes a vulnerability in the module that modifies the database character encoding. Thank you to the National Cyber Security Centre (NCSC-NL) for detecting and help in correct this vulnerability.
1564
-
1565
- = 1.0.126 =
1566
-
1567
- * Allows to define the error messages for the invalid files extensions, and files sizes, associated to the File Upload controls, from the form's settings.
1568
-
1569
- = 1.0.125 =
1570
-
1571
- * Fixes some characters that break the JSON structure of forms.
1572
- * Optimizes the code of controls.
1573
-
1574
- = 1.0.124 =
1575
-
1576
- * Removes the "BOM" characters from the form's structure.
1577
- * Fixes an issue with the "Upload Files" field when the option of multiple files is selected.
1578
- * Increases the size of some columns in the database for forms with many many fields.
1579
-
1580
- = 1.0.123 =
1581
-
1582
- * Modifies the management of checkbox values.
1583
-
1584
- = 1.0.122 =
1585
-
1586
- * Replaces the H1 tags in the forms headers with H2 tags by recommendation of Goolge. The modification includes changes in the predefined templates and the scripts.
1587
- * Has been removed the deprecated parameter "signed_in" from the distance module (integrated with Google Maps) in the versions Developer and Platinum of the plugin.
1588
-
1589
- = 1.0.121 =
1590
-
1591
- * New changes in the module that manages the sessions and cookies to prevent conflict with other plugins of sessions management.
1592
-
1593
- = 1.0.120 =
1594
-
1595
- * Modifies the module to get the values of textual controls (single line text, textarea, phone, email, password) solving a coherence issue between numeric and textual fields.
1596
-
1597
- = 1.0.119 =
1598
-
1599
- * Improves the management of cookies and sessions.
1600
- * Fixes an issue dragging sections separators into containers.
1601
-
1602
- = 1.0.118 =
1603
-
1604
- * Fixes an issue loading public resources.
1605
-
1606
- = 1.0.117 =
1607
-
1608
- * Fixes an issue loading admin resources.
1609
-
1610
- = 1.0.116 =
1611
-
1612
- * Fixes an issue in the module to prevent the use of sessions.
1613
-
1614
- = 1.0.115 =
1615
-
1616
- * Fixes an issue in the code to remove fields from the form.
1617
- * Prevents the use of session variables.
1618
-
1619
- = 1.0.114 =
1620
-
1621
- * Fixes an issue in the module to duplicate fields.
1622
-
1623
- = 1.0.113 =
1624
-
1625
- * Allows hide the date part of the date/time fields.
1626
-
1627
- = 1.0.112 =
1628
-
1629
- * Modifies the module that encodes the attributes of the fields.
1630
-
1631
- = 1.0.111 =
1632
-
1633
- * Solves the conflict with Autoptimize
1634
-
1635
- = 1.0.110 =
1636
-
1637
- * New changes in the validation of the Date/Time controls.
1638
-
1639
- = 1.0.109 =
1640
-
1641
- * Modifies the Date/Time control to validate the field when the hours or minutes are modified.
1642
- * Uses session variables to identify the resources to load and prevent conflicts with other plugins.
1643
- * Modifies the action of the form to submit the form to the same page.
1644
-
1645
- = 1.0.108 =
1646
-
1647
- * Replaces the class constructors in the third party code used by the plugin, to the new standard: __construct
1648
-
1649
- = 1.0.107 =
1650
-
1651
- * Modifies the interface of the forms settings.
1652
- * In forms with multiple pages after pressing the next and previous buttons, the page is scrolled to the top of the form page.
1653
-
1654
- = 1.0.106 =
1655
-
1656
- * Modifies the date time control.
1657
- * Validates the form's structure before be stored into database to prevent saving corrupted data.
1658
- * Escapes the values of the fields' attributes.
1659
-
1660
- = 1.0.105 =
1661
-
1662
- * Closes dynamically the tooltips in mobiles devices after a timeout.
1663
- * Scroll the browser to the first focusable field, after pressing the buttons: "next page" and "previous page", to solve an issue with iPhones mobiles.
1664
- * Allows modify the messages for the errors: "Equal To", "Min length/characters", and "Max length/characters"
1665
-
1666
- = 1.0.104 =
1667
-
1668
- * Modifies some of the predefined templates.
1669
- * Fixes a possible conflict between the tooltips styles, and the themes.
1670
-
1671
- = 1.0.103 =
1672
-
1673
- * The feature: optimize equations, is not needed after the last improvements, the current version removes this option.
1674
-
1675
- = 1.0.102 =
1676
-
1677
- * New change in the Date/Time fields.
1678
-
1679
- = 1.0.101 =
1680
-
1681
- * Corrects an issue with the Date/Time Fields.
1682
-
1683
- = 1.0.100 =
1684
-
1685
- * Corrects an issue in the Containers and Phone fields.
1686
-
1687
- = 1.0.99 =
1688
-
1689
- * Optimizes the dependencies with containers fields.
1690
-
1691
- = 1.0.98 =
1692
-
1693
- * Optimizes the equations and dependencies. Corrects some issues in the templates: "Clean Design" and "Minimalist Form".
1694
-
1695
- = 1.0.97 =
1696
-
1697
- * New changes in the equations.
1698
-
1699
- = 1.0.96 =
1700
-
1701
- * Optimizes the equations, and their evaluations.
1702
-
1703
- = 1.0.95 =
1704
-
1705
- * Allows duplicate container fields (DIV and Fieldset).
1706
-
1707
- = 1.0.94 =
1708
-
1709
- * Includes some changes in the "Date/Time" fields, and with the type of data in the Equations to allow the use of records.
1710
-
1711
- = 1.0.93 =
1712
-
1713
- * Sets the focus in the first focusable element of a multi pages form.
1714
-
1715
- = 1.0.92 =
1716
-
1717
- * Remove all unnecessary fields from the operands list in the equations editor of the Calculated Fields.
1718
-
1719
- = 1.0.91 =
1720
-
1721
- * Set the attribute: "Script load method" to "Direct" by default, because many of themes in the market are not prepared for jQuery 1.12.3, and are generating syntax errors in the websites.
1722
-
1723
- = 1.0.90 =
1724
-
1725
- * Corrects an issue with the dragging and dropping of fields into the form.
1726
- * Corrects an issue with different levels of dependencies between fields.
1727
-
1728
- = 1.0.89 =
1729
-
1730
- * Partial update to correct some issues, until implementing the definitive solution.
1731
-
1732
- = 1.0.88 =
1733
-
1734
- * New modifications and optimizations.
1735
-
1736
- = 1.0.87 =
1737
-
1738
- * New modification in the dependency between fields.
1739
-
1740
- = 1.0.86 =
1741
-
1742
- * Corrects an issue in the fields dependencies.
1743
-
1744
- = 1.0.85 =
1745
-
1746
- * Modifies the code in the CAPTCHA script, used for checking the sessions variables.
1747
-
1748
- = 1.0.84 =
1749
-
1750
- * Modifies the behavior of the slider control.
1751
-
1752
- = 1.0.83 =
1753
-
1754
- * Prevents the insertion of javascript code through the shortcode (thanks to i0-sec).
1755
-
1756
- = 1.0.82 =
1757
-
1758
- * Prevents to access to the Cookies classified as "httponly", through the shortcode: [CP_CALCULATED_FIELDS_VAR] (thanks to i0-sec).
1759
-
1760
- = 1.0.81 =
1761
-
1762
- * Modifies part of generated HTML to satisfy the standard.
1763
-
1764
- = 1.0.80 =
1765
-
1766
- * Prevents a possible conflict with other plugins that use jQuery Stringify.
1767
-
1768
- = 1.0.79 =
1769
-
1770
- * Modifies the Radio Button and Checkbox controls.
1771
-
1772
- = 1.0.78 =
1773
-
1774
- * Creates a new variable based on the additional attributes defined through the form shortcode, and allows to use a new constant in the equations, the form_identifier, with the value of the "cp_calculatedfieldsf_pform_psequence" tag, to identify each instance of the form in the same webpage.
1775
-
1776
- = 1.0.77 =
1777
-
1778
- * Allows to assign custom class names to the hidden fields.
1779
- * Modifies the CAPTCHA module, to fix a conflict with the backslash symbols in the files paths on Windows Servers, and some PHP functions as the imagettftext.
1780
-
1781
- = 1.0.76 =
1782
- * Includes two new operations: The greatest common divisor between two numbers, and the logarithm of "number A" base "number B".
1783
- * The Distance module, in the Developer version of the plugin, includes the TRAVELTIME operation to get the time of traveling between two places.
1784
- * The Financial module, in the developer version of the plugin, includes the operations: IPMT, PPMT, PVIF, FVIFA, XNPV, and XIRR
1785
-
1786
- = 1.0.75 =
1787
- * Fixes an issue with the position of error messages.
1788
-
1789
- = 1.0.74 =
1790
- * Now it is possible to define ranges of invalid dates for date fields.
1791
- * The Upload Files control, displays the list of selected files, whether the multiple selection is enabled.
1792
- * Improves the validation rules in Upload Files control.
1793
- * Fixes the position of validation messages, to prevent overlapping with the controls.
1794
-
1795
- = 1.0.73 =
1796
- * Simple update to increase the spaces between radio buttons and checkboxes distributed side by side.
1797
-
1798
- = 1.0.72 =
1799
- * Modifies the loading of CSS files to fix an issue with multiple forms in a same page but with different templates.
1800
-
1801
- = 1.0.71 =
1802
- * Removes the duplicate LINK tags in the public forms.
1803
- * The developer version includes improves the performance of DS fields, and includes a "Currency DS" control.
1804
-
1805
- = 1.0.70 =
1806
- * Modifies the labels on Radio and Checkboxes fields.
1807
-
1808
- = 1.0.69 =
1809
- * Modifies the labels on Radio and Checkboxes fields.
1810
-
1811
- = 1.0.68 =
1812
- * Modifies the code of some controls to make the execution more consistent.
1813
- * Defines some filters and actions to allow the integration with third party plugins.
1814
- * Adds a new add-on in the developer version of the plugin.
1815
-
1816
- = 1.0.67 =
1817
- * Validates the range of years on Date fields to prevent javascript errors.
1818
-
1819
- = 1.0.66 =
1820
- * Allows the use of language files.
1821
-
1822
- = 1.0.65 =
1823
- * Corrects an issue in the form settings.
1824
-
1825
- = 1.0.64 =
1826
- * Modifies the shortcode: [CP_CALCULATED_FIELDS_VAR]
1827
- * Modifies the mode for loading the CSS files in the public website.
1828
-
1829
- = 1.0.63 =
1830
- * Prevents an issue caused by the Minify options of "W3 Total Cache".
1831
- * Validates the fields in the "onblur" event.
1832
-
1833
- = 1.0.62 =
1834
- * Modifies the summary control to display the caption of Slider controls.
1835
- * Corrects an issue in the reset action of forms with the slider and DateTime controls.
1836
-
1837
- = 1.0.61 =
1838
- * Modifies the behavior of the Reset Button field. After reset the form, the dependencies are validated, and the user is redirected to the first page, if the button is inserted in a multi-page form.
1839
- * Validates the database structure, and displays a warning message if the database has not been updated.
1840
-
1841
- = 1.0.60 =
1842
- * Corrects an issue in the radio buttons values.
1843
-
1844
- = 1.0.59 =
1845
- * Corrects a conflict with the "Back-Forward Cache" in the Firefox browser.
1846
- * Modifies the values returned by the controls: "Single Line Text", "Radio", and "DropDown", to get more consistent results. In previous versions the plugin extracts the numbers included in the values of fields. In the current version, the values returned are the defined values on fields, or zero if the fields are empties.
1847
- * The add_shortcode functions were moved to the 'init' action.
1848
- * The developer version include the "Distance" module, that integrates the plugin with Google Maps, to get the distance between two addresses.
1849
-
1850
- = 1.0.58 =
1851
- * Prevents that the script tags in the forms are modified by the wpautop function of WordPress.
1852
-
1853
- = 1.0.57 =
1854
- * Improves the behavior of dependencies. Excluding fields like: section breaks and page breaks from dependencies.
1855
- * Modifies the styles in the predefined layouts.
1856
- * Allows to disable the forms when the website is visited by search engine spiders and crawlers, increasing the website's speed.
1857
- * Corrects an issue parsing the text values on fields.
1858
- * The pro and developer versions allows to store the forms in cache to increase the rendering speed. This feature will be included in the free version after be tested completely in the other versions of the plugin.
1859
- * Moves the checking of database's structure to the plugin activation process.
1860
-
1861
- = 1.0.56 =
1862
- * Adds new parameters to the cached files to prevent issues with the browsers cache, after upgrade the plugin.
1863
-
1864
- = 1.0.55 =
1865
- * Correct some issues in the optimizing process.
1866
- * Allows to use the HTML fields in dependencies.
1867
- * Modifies some of predefined layouts.
1868
-
1869
- = 1.0.54 =
1870
- * Optimizes the plugin's code, reduces the accesses to database, and submits less information.
1871
-
1872
- = 1.0.53 =
1873
- * New update for all predefined layouts.
1874
-
1875
- = 1.0.52 =
1876
- * Optimize the predefined layouts.
1877
-
1878
- = 1.0.51 =
1879
- * Corrects an issue determining the website's URL
1880
-
1881
- = 1.0.50 =
1882
- * Corrects the type of input fields used by the "Number" controls. If the format of control is "digits", or if the thousands separator is empty and the decimal symbol is the dot symbol, the input field will use the attribute: type="number", and type="text" in other cases. In input fields with type="number", the mobiles devices activate their numeric keyboards.
1883
- * Modifies the "HTML Content" control, to removes the tags: <style> and <script> from the tags editor of the form's builder, to prevent these tags modify the appearance of the editor page. The tags are included in the public website.
1884
- * Modifies the "Button" control to allow the implementation of complex functions in the onclick event, and inserts the button disabled in the controls editor.
1885
- * Inserts the "File" control disabled in the controls editor.
1886
-
1887
- = 1.0.49 =
1888
- * Adds the new control: HTML Content, to add html tags, and javascript code, directly on form.
1889
-
1890
- = 1.0.48 =
1891
- * Prevents the insertion of "Page Break" fields into containers fields.
1892
- * Defines the text colors in the errors messages.
1893
-
1894
- = 1.0.47 =
1895
- * Optimizes the loading of public resources, javascript and CSS files.
1896
-
1897
- = 1.0.46 =
1898
- * Improves the Drag and Drop feature to reordering the fields on form.
1899
- * Replaces the <h2> tags by <h1>, following the WordPress developers suggestions.
1900
- * Uses the class constructors of PHP5
1901
-
1902
- = 1.0.45 =
1903
- * Corrects the URLs schemes to guarantee the use of SSL.
1904
-
1905
- = 1.0.44 =
1906
- * Fixes an issue parsing numbers.
1907
-
1908
- = 1.0.43 =
1909
- * Improves the parsing of numbers to get correct values, even for numbers with invalid formats.
1910
-
1911
- = 1.0.42 =
1912
- * Improves the checking of dependencies in the calculated fields.
1913
- * Improves the parsing of configuration files of the predefined templates.
1914
-
1915
- = 1.0.41 =
1916
- * Prevents a possible issue generating the javascript files.
1917
-
1918
- = 1.0.40 =
1919
- * Modifies the validation rules on Number, Currency, and Date/Time controls.
1920
-
1921
- = 1.0.39 =
1922
- * Creates a minified version of the controls code, to increase the loading pages speed.
1923
-
1924
- = 1.0.38 =
1925
- * Corrects an issue loading multiple forms in a same page.
1926
-
1927
- = 1.0.37 =
1928
- * Corrects an issue with float numbers in the equations.
1929
-
1930
- = 1.0.36 =
1931
- * Corrects an issue with float numbers in the equations.
1932
-
1933
- = 1.0.35 =
1934
- * Improves the process for optimizing the equations.
1935
-
1936
- = 1.0.34 =
1937
- * Adds a new predefined layout to the plugin, and modifies the existent.
1938
-
1939
- = 1.0.33 =
1940
- * Corrects the location of the tooltips.
1941
-
1942
- = 1.0.32 =
1943
- * Modifies all templates to adjust the slider control.
1944
-
1945
- = 1.0.31 =
1946
- * Includes a new predefined Layout.
1947
-
1948
- = 1.0.30 =
1949
- * Includes a new predefined Layout.
1950
-
1951
- = 1.0.29 =
1952
- * The current update modifies the module for parsing numeric values, using the "." symbol as decimals separator in numbers, if the user leaves empty this attribute.
1953
-
1954
- = 1.0.28 =
1955
- * Improves the design of the forms for printing.
1956
-
1957
- = 1.0.27 =
1958
- * Corrects an issue with the hidden fields, that are displaying their labels when are inserted into a container field.
1959
-
1960
- = 1.0.26 =
1961
- * Includes a new template.
1962
-
1963
- = 1.0.25 =
1964
- * Modifies the insertion queries.
1965
-
1966
- = 1.0.24 =
1967
- * Includes a validation text, for files bigger than size limit defined.
1968
-
1969
- = 1.0.23 =
1970
- * Modifies the fields: summary, hidden, and calculated.
1971
-
1972
- = 1.0.22 =
1973
- * Modifies the File fields for accepting multiple files in a same file tag.
1974
- * Includes new features in the Pro and Dev versions of plugin (http://blog.net-factor.com/xK6dJ)
1975
-
1976
- = 1.0.21 =
1977
- * Corrects an issue loading the templates.
1978
-
1979
- = 1.0.20 =
1980
- * Corrects an issue with the dependencies in the calculated fields, and where calculated fields are the dependent fields too.
1981
- * Sets the focus in the first invalid field, when the validation rules fail.
1982
-
1983
- = 1.0.19 =
1984
- * Implements a new icon to insert a shortcode in the contents of pages and posts, to create JavaScript variables from GET, or POST parameters, SESSION variables, or COOKIES.
1985
-
1986
- = 1.0.18 =
1987
- * Corrects a PHP notice, for a non initialized variable.
1988
-
1989
- = 1.0.17 =
1990
- * Includes the "column" attribute in the container fields (DIV and FIELDSET) to display in columns the fields into the container.
1991
- * Improves the detection of the homepage's URL, for loading the resources.
1992
- * In the paid versions of the plugin, if WordPress uses SMTP for sending emails, then prevents to use the "phpmailer_init" actions.
1993
-
1994
- = 1.0.16 =
1995
- * Modifies the validation rules for limiting infinite or NaN values, in numeric results.
1996
-
1997
- = 1.0.15 =
1998
- * Modifies the validation rules for accepting textual values in the calculated fields.
1999
-
2000
- = 1.0.14 =
2001
- * Hides the labels and the help for users, in the calculated fields configured as hidden from the public page, to prevent these fields are displayed if the calculated fields are dependent of a radio button, checkbox, or dropdown field, and the choice is selected.
2002
-
2003
- = 1.0.13 =
2004
- * Modifies the styles associated to the forms.
2005
-
2006
- = 1.0.12 =
2007
- * Increases the plugin's security, using the WordPress Nonces mechanism.
2008
- * Allows the installation of the plugin in a WordPress Multisite.
2009
-
2010
- = 1.0.11 =
2011
- * Modifies the replacement of numbers in the equations to avoid invalid operations.
2012
- * Modifies the database queries to avoid some potential vulnerabilities.
2013
-
2014
- = 1.0.10 =
2015
- * Modifies the slider control for accepting decimal numbers.
2016
-
2017
- = 1.0.9 =
2018
- * Corrects some issues with the slider control, and enables the drag and drop feature of the slider in the mobile devices.
2019
-
2020
- = 1.0.8 =
2021
- * Improves the behavior, and correct and issue with the following controls: date, checkbox, radio button group, and drop-down
2022
-
2023
- = 1.0.7 =
2024
- * The current update add the slider control.
2025
-
2026
- = 1.0.6 =
2027
- * The current update allows to define the time control as 12 or 24 hours.
2028
-
2029
- = 1.0.5 =
2030
- * The fields defined as small or medium, are displayed large in small screens.
2031
- * Corrects a conflict with others of our plugins that use the form builder, when both plugins are inserted in the same page.
2032
-
2033
- = 1.0.4 =
2034
- * Modifies the media control to insert multiple images in the same form.
2035
-
2036
- = 1.0.3 =
2037
- * Modifies the loading process of the javascript files.
2038
- * Modifies some styles applied to the forms to improve the appearance of the forms in small screens, like mobiles and tablets.
2039
-
2040
- = 1.0.2 =
2041
- * Corrects an issue with the placeholder attribute in the date/time fields
2042
- * The reset button clears the fields values in the summary fields
2043
- * Improves the performance of the calculated fields
2044
-
2045
- = 1.0.1 =
2046
- * Compatibility issues fixed, faster loading
2047
- * New configuration settings
2048
- * Compatible with all the latest WP versions
2049
- * Fixed tags in WP directory
2050
-
2051
- = 1.0 =
2052
- * First version released.
2053
- * Improved jQuery form builder published
1
  == Changelog ==
2
 
3
+ = 1.0.435 =
4
+
5
+ * Implements the REMAINDER operation.
6
+
7
+ = 1.0.434 =
8
+
9
+ * Fixes a minor issue in the radio buttons controls.
10
+ * Modifies the WooCommerce add-on to allow editing the products added to the cart (Developer and Platinum versions).
11
+ * Modifies the Users Permissions add-on (Developer and Platinum versions).
12
+
13
+ = 1.0.433 =
14
+
15
+ * Modifies the collapsible behavior in the fieldset fields.
16
+ * Includes additional validations in the DS fields (Developer and Platinum versions).
17
+ * Fixes a conflict with the reCAPTCHA styles (Developer and Platinum versions).
18
+
19
+ = 1.0.432 =
20
+
21
+ * Modifies the previsualization for forms as the pages of the form.
22
+ * Fixes a conflict with the Jetpack Lazy Load images.
23
+ * Modifies the module to prevent the thank you page be cached (Professional, Developer, and Platinum versions).
24
+ * Modifies the popup for data edition in the Users Permissions add-on (Developer and Platinum versions).
25
+
26
+ = 1.0.431 =
27
+
28
+ * Allows sorting the forms list by their ids or names.
29
+ * Modifies the default values on phone controls.
30
+ * Modifies the MailChimp add-on in the Platinum version of the plugin.
31
+
32
+ = 1.0.430 =
33
+
34
+ * Includes minor changes in the Single Line Text, Password, and Email controls.
35
+ * Fixes an issue with the back button on browsers.
36
+ * Improves the performance of the CSV Generator add-on in the Platinum version of the plugin.
37
+ * Modifies the Twilio add-on in the Platinum version of the plugin.
38
+
39
  = 1.0.429 =
40
 
41
  * Modifies the date/time control to fix an issue with the default dates.
693
 
694
  = 1.0.300 =
695
 
696
+ * Improves the code that creates the relationship between the fields' attributes and other fields in the form, furthermore, fixes some issues between this relationships and the dependencies.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.0.429
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.0.429' );
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.0.435
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.0.435' );
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 ) );
css/style.css CHANGED
@@ -15,6 +15,7 @@
15
  .padding10{padding:10px;}
16
  .button, .form-builder .button{float:left;margin:5px 15px;}
17
  .button.n span{color:#AED0EA}
 
18
  #tabs{height:650px;width:100%;overflow-y:auto;}
19
  #fbuilder{height:640px;overflow:auto;position:relative;}
20
  #fbuilder .fields{border:1px solid transparent;padding:3px 10px 14px 10px;margin:5px 0px;display:block;position:relative;}
15
  .padding10{padding:10px;}
16
  .button, .form-builder .button{float:left;margin:5px 15px;}
17
  .button.n span{color:#AED0EA}
18
+ .cff-active-column{border:1px solid #0073aa; padding:5px;display:inline-block;}
19
  #tabs{height:650px;width:100%;overflow-y:auto;}
20
  #fbuilder{height:640px;overflow:auto;position:relative;}
21
  #fbuilder .fields{border:1px solid transparent;padding:3px 10px 14px 10px;margin:5px 0px;display:block;position:relative;}
inc/cpcff_admin_int.inc.php CHANGED
@@ -578,7 +578,7 @@ $cpcff_texts_array = CPCFF_AUXILIARY::array_replace_recursive(
578
  <td colspan="2" rowspan="">
579
  <?php _e( 'Preview', 'calculated-fields-form' ); ?>:<br />
580
  <br />
581
- <img src="<?php echo plugins_url('/captcha/captcha.php', CP_CALCULATEDFIELDSF_MAIN_FILE_PATH); ?>" id="captchaimg" alt="<?php esc_attr_e( 'security code', 'calculated-fields-form' ); ?>" border="0" />
582
  </td>
583
  </tr>
584
 
578
  <td colspan="2" rowspan="">
579
  <?php _e( 'Preview', 'calculated-fields-form' ); ?>:<br />
580
  <br />
581
+ <img src="<?php echo plugins_url('/captcha/captcha.php', CP_CALCULATEDFIELDSF_MAIN_FILE_PATH); ?>" id="captchaimg" alt="<?php esc_attr_e( 'security code', 'calculated-fields-form' ); ?>" border="0" class="skip-lazy" />
582
  </td>
583
  </tr>
584
 
inc/cpcff_admin_int_list.inc.php CHANGED
@@ -14,6 +14,11 @@ $cpcff_main = CPCFF_MAIN::instance();
14
 
15
  $message = "";
16
 
 
 
 
 
 
17
  if (isset($_GET['a']) && $_GET['a'] == '1')
18
  {
19
  check_admin_referer( 'cff-add-form', '_cpcff_nonce' );
@@ -87,7 +92,7 @@ else if (isset($_GET['d']) && $_GET['d'] != '')
87
  $message = __( "Troubleshoot settings updated", 'calculated-fields-form' );
88
  }
89
 
90
-
91
  if ($message) echo "<div id='setting-error-settings_updated' class='updated settings-error'><p><strong>".$message."</strong></p></div>";
92
 
93
  ?>
@@ -167,12 +172,12 @@ if ($message) echo "<div id='setting-error-settings_updated' class='updated sett
167
  <table cellspacing="10" class="cff-custom-table cff-forms-list">
168
  <thead>
169
  <tr>
170
- <th align="left"><?php _e( 'ID', 'calculated-fields-form' ); ?></th><th align="left"><?php _e( 'Form Name', 'calculated-fields-form' ); ?></th><th align="center"><?php _e( 'Options', 'calculated-fields-form' ); ?></th><th align="left"><?php _e( 'Shortcode', 'calculated-fields-form' ); ?></th>
171
  </tr>
172
  </thead>
173
  <tbody>
174
  <?php
175
- $myrows = $wpdb->get_results( "SELECT * FROM ".$wpdb->prefix.CP_CALCULATEDFIELDSF_FORMS_TABLE." ORDER BY id ASC" );
176
  foreach ($myrows as $item)
177
  {
178
  ?>
14
 
15
  $message = "";
16
 
17
+ if(isset($_GET['orderby']))
18
+ {
19
+ update_option('CP_CALCULATEDFIELDSF_FORMS_LIST_ORDERBY', $_GET['orderby'] == 'form_name' ? 'form_name' : 'id');
20
+ }
21
+
22
  if (isset($_GET['a']) && $_GET['a'] == '1')
23
  {
24
  check_admin_referer( 'cff-add-form', '_cpcff_nonce' );
92
  $message = __( "Troubleshoot settings updated", 'calculated-fields-form' );
93
  }
94
 
95
+ $orderby = get_option('CP_CALCULATEDFIELDSF_FORMS_LIST_ORDERBY', 'id'); // For sortin the forms list
96
  if ($message) echo "<div id='setting-error-settings_updated' class='updated settings-error'><p><strong>".$message."</strong></p></div>";
97
 
98
  ?>
172
  <table cellspacing="10" class="cff-custom-table cff-forms-list">
173
  <thead>
174
  <tr>
175
+ <th align="left"><a href="?page=cp_calculated_fields_form&orderby=id" <?php if($orderby == 'id') print 'class="cff-active-column"'; ?>><?php _e( 'ID', 'calculated-fields-form' ); ?></a></th><th align="left"><a href="?page=cp_calculated_fields_form&orderby=form_name" <?php if($orderby == 'form_name') print 'class="cff-active-column"'; ?>><?php _e( 'Form Name', 'calculated-fields-form' ); ?></a></th><th align="center"><?php _e( 'Options', 'calculated-fields-form' ); ?></th><th align="left"><?php _e( 'Shortcode', 'calculated-fields-form' ); ?></th>
176
  </tr>
177
  </thead>
178
  <tbody>
179
  <?php
180
+ $myrows = $wpdb->get_results( "SELECT * FROM ".$wpdb->prefix.CP_CALCULATEDFIELDSF_FORMS_TABLE." ORDER BY ".$orderby." ASC" );
181
  foreach ($myrows as $item)
182
  {
183
  ?>
inc/cpcff_main.inc.php CHANGED
@@ -397,13 +397,13 @@ if(!class_exists('CPCFF_MAIN'))
397
  remove_all_actions('shutdown');
398
  if(!empty($atts['wp_die']))
399
  {
400
- wp_die($message, $page_title, 200);
401
  }
402
  elseif(!empty($atts['page']))
403
  {
404
  print '<!DOCTYPE html><html><head profile="http://gmpg.org/xfn/11"><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1"></head><body>';
405
  print $message;
406
- print '</body></html>';
407
  exit;
408
  }
409
  else
397
  remove_all_actions('shutdown');
398
  if(!empty($atts['wp_die']))
399
  {
400
+ wp_die($message.'<style>body{margin:2em !important;max-width:100% !important;box-shadow:none !important;background:white !important}html{background:white !important;}.wp-die-message>*:not(form){visibility: hidden;}</style>', $page_title, 200);
401
  }
402
  elseif(!empty($atts['page']))
403
  {
404
  print '<!DOCTYPE html><html><head profile="http://gmpg.org/xfn/11"><meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1"></head><body>';
405
  print $message;
406
+ print '<style>body>*:not(form){visibility: hidden;}</style></body></html>';
407
  exit;
408
  }
409
  else
js/fbuilder-pro-public.jquery.js CHANGED
@@ -442,10 +442,14 @@
442
  }
443
  );
444
 
445
- $.fbuilder.showHideDep(
446
- {
447
- 'formIdentifier' : opt.identifier
448
- }
 
 
 
 
449
  );
450
 
451
  try
@@ -564,16 +568,16 @@
564
  userhelpTooltip:false,
565
  csslayout:"",
566
  init:function(){},
567
- _getAttr:function(attr)
568
  {
569
- var me = this, f, v = $.trim(me[attr]);
570
- if($.isNumeric(v)) return parseFloat(v);
571
  f = (/^fieldname\d+$/i.test(v)) ? me.getField(v) : false;
572
  if(f)
573
  {
574
  v = f.val();
575
  if(f.ftype == 'fdate') return new Date(v*86400000);
576
- if($.isNumeric(v)) return parseFloat(v);
577
  return v.replace(/^"+/, '').replace(/"+$/, '');
578
  }
579
  return v;
442
  }
443
  );
444
 
445
+ setTimeout(
446
+ function(){
447
+ $.fbuilder.showHideDep(
448
+ {
449
+ 'formIdentifier' : opt.identifier
450
+ }
451
+ );
452
+ }, 50
453
  );
454
 
455
  try
568
  userhelpTooltip:false,
569
  csslayout:"",
570
  init:function(){},
571
+ _getAttr:function(attr, raw)
572
  {
573
+ var me = this, f, v = $.trim(me[attr]), raw = raw || false;
574
+ if(!raw && $.isNumeric(v)) return parseFloat(v);
575
  f = (/^fieldname\d+$/i.test(v)) ? me.getField(v) : false;
576
  if(f)
577
  {
578
  v = f.val();
579
  if(f.ftype == 'fdate') return new Date(v*86400000);
580
+ if(!raw && $.isNumeric(v)) return parseFloat(v);
581
  return v.replace(/^"+/, '').replace(/"+$/, '');
582
  }
583
  return v;
js/fields-admin/01_fbuilder.ftext.js CHANGED
@@ -56,6 +56,6 @@
56
  },
57
  showSpecialDataInstance: function()
58
  {
59
- return '<div class="column"><label>Min length/characters</label><input type="text" name="sMinlength" id="sMinlength" value="'+$.fbuilder.htmlEncode(this.minlength)+'"></div><div class="column"><label>Max length/characters</label><input type="text" name="sMaxlength" id="sMaxlength" value="'+$.fbuilder.htmlEncode(this.maxlength)+'"></div><div class="clearer" /><div><label>Validate against a regular expression</label><input type="text" name="sRegExp" id="sRegExp" value="'+$.fbuilder.htmlEncode(this.regExp)+'" class="large" /></div><div><label>Error message when the regular expression fails</label><input type="text" name="sRegExpMssg" id="sRegExpMssg" value="'+$.fbuilder.htmlEncode(this.regExpMssg)+'" class="large" /></div>';
60
  }
61
  });
56
  },
57
  showSpecialDataInstance: function()
58
  {
59
+ return '<div class="column width50"><label>Min length/characters</label><input type="text" name="sMinlength" id="sMinlength" value="'+$.fbuilder.htmlEncode(this.minlength)+'" class="large"></div><div class="column width50"><label>Max length/characters</label><input type="text" name="sMaxlength" id="sMaxlength" value="'+$.fbuilder.htmlEncode(this.maxlength)+'" class="large"></div><div class="clearer"></div><label style="padding-bottom:5px;">Validate against a regular expression <input type="button" onclick="window.open(\'https://cff-bundles.dwbooster.com/product/regexp\');" value="+" title="Resources" /></label><input type="text" name="sRegExp" id="sRegExp" value="'+$.fbuilder.htmlEncode(this.regExp)+'" class="large" /><label>Error message when the regular expression fails</label><input type="text" name="sRegExpMssg" id="sRegExpMssg" value="'+$.fbuilder.htmlEncode(this.regExpMssg)+'" class="large" />';
60
  }
61
  });
js/fields-admin/03_fbuilder.femail.js CHANGED
@@ -53,7 +53,7 @@
53
  },
54
  showSpecialDataInstance: function()
55
  {
56
- var str = '<div><label>Validate against a regular expression</label><input type="text" name="sRegExp" id="sRegExp" value="'+$.fbuilder.htmlEncode(this.regExp)+'" class="large" /></div><div><label>Error message when the regular expression fails</label><input type="text" name="sRegExpMssg" id="sRegExpMssg" value="'+$.fbuilder.htmlEncode(this.regExpMssg)+'" class="large" /></div>';
57
  return str;
58
  }
59
  });
53
  },
54
  showSpecialDataInstance: function()
55
  {
56
+ var str = '<label style="padding-bottom:5px;">Validate against a regular expression <input type="button" onclick="window.open(\'https://cff-bundles.dwbooster.com/product/regexp\');" value="+" title="Resources" /></label><input type="text" name="sRegExp" id="sRegExp" value="'+$.fbuilder.htmlEncode(this.regExp)+'" class="large" /><label>Error message when the regular expression fails</label><input type="text" name="sRegExpMssg" id="sRegExpMssg" value="'+$.fbuilder.htmlEncode(this.regExpMssg)+'" class="large" />';
57
  return str;
58
  }
59
  });
js/fields-admin/10_fbuilder.fpassword.js CHANGED
@@ -56,6 +56,6 @@
56
  },
57
  showSpecialDataInstance: function()
58
  {
59
- return '<div class="column width50"><label>Min length/characters</label><input type="text" name="sMinlength" id="sMinlength" value="'+$.fbuilder.htmlEncode(this.minlength)+'" class="large"></div><div class="column width50"><label>Max length/characters</label><input type="text" name="sMaxlength" id="sMaxlength" value="'+$.fbuilder.htmlEncode(this.maxlength)+'" class="large"></div><div class="clearer" /><label>Validate against a regular expression</label><input type="text" name="sRegExp" id="sRegExp" value="'+$.fbuilder.htmlEncode(this.regExp)+'" class="large" /><label>Error message when the regular expression fails</label><input type="text" name="sRegExpMssg" id="sRegExpMssg" value="'+$.fbuilder.htmlEncode(this.regExpMssg)+'" class="large" />';
60
  }
61
  });
56
  },
57
  showSpecialDataInstance: function()
58
  {
59
+ return '<div class="column width50"><label>Min length/characters</label><input type="text" name="sMinlength" id="sMinlength" value="'+$.fbuilder.htmlEncode(this.minlength)+'" class="large"></div><div class="column width50"><label>Max length/characters</label><input type="text" name="sMaxlength" id="sMaxlength" value="'+$.fbuilder.htmlEncode(this.maxlength)+'" class="large"></div><div class="clearer"></div><label style="padding-bottom:5px;">Validate against a regular expression <input type="button" onclick="window.open(\'https://cff-bundles.dwbooster.com/product/regexp\');" value="+" title="Resources" /></label><input type="text" name="sRegExp" id="sRegExp" value="'+$.fbuilder.htmlEncode(this.regExp)+'" class="large" /><label>Error message when the regular expression fails</label><input type="text" name="sRegExpMssg" id="sRegExpMssg" value="'+$.fbuilder.htmlEncode(this.regExpMssg)+'" class="large" />';
60
  }
61
  });
js/fields-admin/29_fbuilder.ffieldset.fc.js CHANGED
@@ -16,6 +16,7 @@
16
  columns:1,
17
  rearrange: 0,
18
  collapsible:false, // Public
 
19
  collapsed:false, // Admin
20
  display:function()
21
  {
@@ -24,7 +25,7 @@
24
  editItemEvents:function()
25
  {
26
  $.fbuilder.controls[ 'fcontainer' ].prototype.editItemEvents.call(this);
27
- $.fbuilder.controls[ 'ffields' ].prototype.editItemEvents.call(this, [{s:"#sCollapsible",e:"click", l:"collapsible", f:function(el){return el.is(':checked');}}]);
28
  },
29
  remove : function()
30
  {
@@ -40,7 +41,8 @@
40
  },
41
  showCollapsible:function()
42
  {
43
- return '<label><input type="checkbox" name="sCollapsible" id="sCollapsible" '+((this.collapsible)?"checked":"")+'> Make it collapsible (collapsed by default)</label>';
 
44
  },
45
  showSpecialDataInstance: function()
46
  {
16
  columns:1,
17
  rearrange: 0,
18
  collapsible:false, // Public
19
+ defaultCollapsed: true, // Public
20
  collapsed:false, // Admin
21
  display:function()
22
  {
25
  editItemEvents:function()
26
  {
27
  $.fbuilder.controls[ 'fcontainer' ].prototype.editItemEvents.call(this);
28
+ $.fbuilder.controls[ 'ffields' ].prototype.editItemEvents.call(this, [{s:"#sCollapsible",e:"click", l:"collapsible", f:function(el){return el.is(':checked');}}, {s:"#sCollapsedByDefault",e:"click", l:"defaultCollapsed", f:function(el){return el.is(':checked');}}]);
29
  },
30
  remove : function()
31
  {
41
  },
42
  showCollapsible:function()
43
  {
44
+ return '<label><input type="checkbox" name="sCollapsible" id="sCollapsible" '+((this.collapsible)?"checked":"")+'> Make it collapsible</label>'+
45
+ '<label><input type="checkbox" name="sCollapsedByDefault" id="sCollapsedByDefault" '+((this.defaultCollapsed)?"checked":"")+'> Collapsed by default</label>';
46
  },
47
  showSpecialDataInstance: function()
48
  {
js/fields-public/07_fbuilder.fradio.js CHANGED
@@ -46,11 +46,11 @@
46
  n = me.name;
47
  if(me.untickAccepted)
48
  {
49
- $(document).off('click', '[id*="'+n+'"]').on('click', '[id*="'+n+'"]', function(){
50
  var m = this,
51
  e = $(m);
52
 
53
- $('[id*="'+n+'"]').each(function(){if(m !== this) $(this).data('previous-status', false);});
54
  if(e.data('previous-status')){ m.checked = false; e.change();}
55
  e.data('previous-status', m.checked);
56
  });
46
  n = me.name;
47
  if(me.untickAccepted)
48
  {
49
+ $(document).off('click', '[id*="'+n+'_"]').on('click', '[id*="'+n+'_"]', function(){
50
  var m = this,
51
  e = $(m);
52
 
53
+ $('[id*="'+n+'_"]').each(function(){if(m !== this) $(this).data('previous-status', false);});
54
  if(e.data('previous-status')){ m.checked = false; e.change();}
55
  e.data('previous-status', m.checked);
56
  });
js/fields-public/11_fbuilder.fphone.js CHANGED
@@ -11,7 +11,7 @@
11
  predefined:"888 888 8888",
12
  show:function()
13
  {
14
- this.predefined = new String(this._getAttr('predefined'));
15
  var me = this,
16
  str = "",
17
  tmp = this.dformat.split(' '),
11
  predefined:"888 888 8888",
12
  show:function()
13
  {
14
+ this.predefined = new String(this._getAttr('predefined', true));
15
  var me = this,
16
  str = "",
17
  tmp = this.dformat.split(' '),
js/fields-public/29_fbuilder.ffieldset.fc.js CHANGED
@@ -8,10 +8,11 @@
8
  fields:[],
9
  columns:1,
10
  collapsible:false,
 
11
  rearrange: 0,
12
  show:function()
13
  {
14
- return '<div class="fields '+this.csslayout+' '+this.name+' cff-container-field '+((this.collapsible) ? 'cff-collapsible cff-collapsed' : '')+'" id="field'+this.form_identifier+'-'+this.index+'"><FIELDSET>'+( ( !/^\s*$/.test( this.title ) ) ? '<LEGEND>'+this.title+'</LEGEND>' : '' )+'<div id="'+this.name+'"></div></FIELDSET><div class="clearer"></div></div>';
15
  },
16
  after_show: function()
17
  {
8
  fields:[],
9
  columns:1,
10
  collapsible:false,
11
+ defaultCollapsed:true,
12
  rearrange: 0,
13
  show:function()
14
  {
15
+ return '<div class="fields '+this.csslayout+' '+this.name+' cff-container-field '+((this.collapsible) ? 'cff-collapsible'+((this.defaultCollapsed) ? ' cff-collapsed' : '') : '')+'" id="field'+this.form_identifier+'-'+this.index+'"><FIELDSET>'+( ( !/^\s*$/.test( this.title ) ) ? '<LEGEND>'+this.title+'</LEGEND>' : '' )+'<div id="'+this.name+'"></div></FIELDSET><div class="clearer"></div></div>';
16
  },
17
  after_show: function()
18
  {
js/modules/01_mathematical_logical/admin/module_admin.js CHANGED
@@ -17,6 +17,7 @@ fbuilderjQuery[ 'fbuilder' ][ 'modules' ][ 'default' ] = {
17
  { "value" : ",", "code" : ",", "tip" : "" },
18
  { "value" : "SUM", "code" : "SUM(", "tip" : "Returns the sum of values passed by parameter. <strong>SUM(3,10,11)</strong> returns <strong>24</strong>" },
19
  { "value" : "CONCATENATE", "code" : "CONCATENATE(", "tip" : "Returns a text with all parameters concatenated. <strong>CONCATENATE(1, 2, 3)</strong> returns <strong>123</strong>" },
 
20
  { "value" : "ABS", "code" : "ABS(", "tip" : "Returns the absolute value of the number passed as parameter. <strong>ABS(number)</strong>" },
21
  { "value" : "CEIL", "code" : "CEIL(", "tip" : "Returns the next higher integer that is greater than or equal to the number passed as parameter. <strong>CEIL(number)</strong><br>The CEIL operation accepts a second parameter for rounding the number to the next multiple of this second parameter. <strong>CEIL(X,Y)</strong>" },
22
  { "value" : "FLOOR", "code" : "FLOOR(", "tip" : "Returns the next lower integer that is less than or equal to the number passed as parameter. <strong>FLOOR(number)</strong><br>The FLOOR operation accepts a second parameter for rounding the number to the previous multiple of this second parameter. <strong>FLOOR(X,Y)</strong>" },
17
  { "value" : ",", "code" : ",", "tip" : "" },
18
  { "value" : "SUM", "code" : "SUM(", "tip" : "Returns the sum of values passed by parameter. <strong>SUM(3,10,11)</strong> returns <strong>24</strong>" },
19
  { "value" : "CONCATENATE", "code" : "CONCATENATE(", "tip" : "Returns a text with all parameters concatenated. <strong>CONCATENATE(1, 2, 3)</strong> returns <strong>123</strong>" },
20
+ { "value" : "REMAINDER", "code" : "REMAINDER(", "tip" : "The remainder is the integer left over after dividing one integer by another to produce an integer quotient (integer division). <strong>REMAINDER(7, 2)</strong> returns <strong>1</strong>" },
21
  { "value" : "ABS", "code" : "ABS(", "tip" : "Returns the absolute value of the number passed as parameter. <strong>ABS(number)</strong>" },
22
  { "value" : "CEIL", "code" : "CEIL(", "tip" : "Returns the next higher integer that is greater than or equal to the number passed as parameter. <strong>CEIL(number)</strong><br>The CEIL operation accepts a second parameter for rounding the number to the next multiple of this second parameter. <strong>CEIL(X,Y)</strong>" },
23
  { "value" : "FLOOR", "code" : "FLOOR(", "tip" : "Returns the next lower integer that is less than or equal to the number passed as parameter. <strong>FLOOR(number)</strong><br>The FLOOR operation accepts a second parameter for rounding the number to the previous multiple of this second parameter. <strong>FLOOR(X,Y)</strong>" },
js/modules/01_mathematical_logical/public/module_public.js CHANGED
@@ -12,6 +12,11 @@ fbuilderjQuery[ 'fbuilder' ][ 'modules' ][ 'default' ] = {
12
  Number.prototype.LENGTH = function(){return this.valueOf().toString().length;};
13
  }
14
 
 
 
 
 
 
15
  function ROUNDx(operation, num, y)
16
  {
17
  if(y && y != 0)
12
  Number.prototype.LENGTH = function(){return this.valueOf().toString().length;};
13
  }
14
 
15
+ if(window.REMAINDER == undefined)
16
+ {
17
+ window.REMAINDER = window.remainder = function(a, b){return a%b;};
18
+ }
19
+
20
  function ROUNDx(operation, num, y)
21
  {
22
  if(y && y != 0)