== Changelog == = 1.0.208 = * Modifies the copy of the jquery.validate for fixing some conflicts with third party plugins. = 1.0.207 = * Updates the latest version of jquery.validate in the plugin. * Improves the validation rules in the "Single Line Text" and "Upload Files" controls. * Converts the "type" attribute of email controls into email. = 1.0.206 = * 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. = 1.0.205 = * Fixes some warnings when the forms' shortcodes are inserted without the id attributes. * 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. = 1.0.204 = * 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. * Includes some modifications in the Template 6. * 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. * Modifies the Stripe add-on in the Platinum version of the plugin. = 1.0.203 = * Fixes a conflict with Varnish in the free version of the plugin. * Fixes an issue scrolling the webpage in the forms with multiple pages, when the pages don't have focusable elements. * Modifies the DISTANCE operation in the Developer and Platinum versions. * Modifies the following fields: DropDown DS, Checkbox DS, and RadioButton DS, in the Developer and Platinum versions of the plugin, to avoid duplicated choices. = 1.0.202 = * Fixes an issue with the session variables. * Modifies the parameters of the cpcff_payment_processed action. = 1.0.201 = * Modifies the DropDown fields to include optgroup tags. * Modifies the Date/Time fields. = 1.0.200 = * Improves the integration with the Gutenberg Editor. = 1.0.199 = * Allows the integration with the Gutenberg Editor, the next editor for WordPress (Includes new blocks for inserting the corresponding shortcodes). * Replaces the icon for waiting in the AMP pages by a transparent icon. = 1.0.198 = * Removes the !important; declaration from the CSS rule into the pair of tags to satisfy the AMP rules. = 1.0.197 = * Modifies the redirection of the amp-iframes tags, to increase the speed loading the forms in the AMP pages. * For the Developer and Platinum versions of the plugin, modifies the reCAPTCHA add-on. = 1.0.196 = * Fixes an issue editing the URLs of the AMP pages. * 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. = 1.0.195 = * 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. * In the paid versions of the plugin applies the same modifications to the summary displayed in the thank you page and the notification emails. = 1.0.194 = * Draws an AMP restriction with the iframe tags when the URL belongs to the same website. * Solves a minor issue determining the public URL of the website. = 1.0.193 = * Fixes a minor issue with the forms in the AMP pages. = 1.0.192 = * Allows scrolling the forms in the AMP pages when are visited from iPhones and iPads. = 1.0.191 = * Fixes an issue with the AMP version of forms. = 1.0.190 = * 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. = 1.0.189 = * Allows to start the phone fields with the plus symbol (+) for international numbers. * Fixes some notices. * Reduces the number of database queries. * Optimizes the plugin's code. = 1.0.188 = * Fixes an issue with the forms' preview in some WordPress configurations. * The free version of the plugin solves a conflict with Varnish. * The Developer and Platinum versions fixes some issues with external datasources. = 1.0.187 = * Fixes an issue formatting dynamically the values on number and currency fields. * Modifies the server side scripts that generate the client side scripts to prevent issues with notices and warnings not related with our plugin. * 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. * 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. = 1.0.186 = * Fixes an issue with the message after cloning a form. = 1.0.185 = * Fixes an issue with the access to the external links in the submenu of the plugin. = 1.0.184 = * Reduces the number of queries to database. * For the Professional version of the plugin, modifies the module to export the forms. * For the Developer version of the plugin, modifies the "DS" set of fields, and improves the security of database accesses. * For the Platinum version of the plugin, fixes a notice in the MailChimp add-on. = 1.0.183 = * Modifies the database's structure to prevent issues with a wrong character set in the columns. = 1.0.182 = * Improves the access to the plugin's options. * Fixes an issue in the CPCFF_FORM class. * 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. * 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. * In the Platinum version fixes some issues in the payment gateway add-ons. = 1.0.181 = * Fixes the URLs to the demo, help, and upgrade pages. * Modifies the module for the forms preview. = 1.0.180 = * Reduces the number of database queries. * Adds new validation rules in the data received, increasing the security. * Improves the performance and the plugin's code. = 1.0.179 = * Includes some changes in the forms' settings. = 1.0.178 = * Allows to insert the forms' shortcodes directly into the Text Widgets on sidebars. * Improves the plugin's code and the forms' perfomance. * In the Professional, Developer, and Platinum versions of the plugin improves the validation of the uploaded files, and the management of coupons. = 1.0.177 = * Includes the integration with the CP Blocks plugin. * Fixes an issue in the Emma add-on distributed with the Platinum version of the plugin. = 1.0.176 = * Modifies the currency fields formatting the entered values always with the decimal places. * Optimizes the code to strips the slashes from the submitted values. * Fixes some warnings in the script for external data-sources integration in the Developer and Platinum versions of the plugin. = 1.0.175 = * 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. * Fixes other minor errors. = 1.0.174 = * Improves the Template 8. * Improves the appearance of the forms builder in mobiles devices. * Fixes other minor errors. = 1.0.173 = * Modifies the radio buttons and checkbox controls. * Improves the forms in websites with right-to-left direction. * Improves the accessibility of the forms builder in mobiles devices. * Solves a conflict between the AdBlocker extension in the browsers, and the Google Analytics add-on. * Fixes other minor errors. = 1.0.172 = * 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. = 1.0.171 = * Improves the plugin performance, its code, and the code documentation. * Solves some issues in the Signature and Google Place add-ons for the Platinum version. = 1.0.170 = * Includes the CPCFF_MAIN class for controlling and organize the plugin's code (actions and filters). * Sends the specific Content-Type header with the scripts of controls. = 1.0.169 = * Modifies the code that parses the JSON strings. * Includes the write_logs method for writing the execution errors in the PHP error logs file. = 1.0.168 = * Reduces the number of database queries in the installation and update process. * Removes unnecessary constant. * Moves the installation code to its own file. = 1.0.167 = * New modifications in the optimization process that reduces the number of database queries, and improves the code. = 1.0.166 = * Increases the size of the "ipaddr" column in the database. = 1.0.165 = * Checks the dependencies associated to the calculated fields, even if the dynamic evaluation of the equations is disabled. * Increases the sizes of textarea fields for entering the equations in the calculated fields, and the HTML code in the HTML Content fields. * 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. = 1.0.164 = * Includes a new option in the "Form Settings" tab to customize the forms' designs. * Makes all textareas controls, in the fields properties, vertically resizable to facilitate to enter the data. * Allows to expand the controls and properties bars. * Modifies the fields' attributes to adjust them to the new dimensions of the properties bar when it is expanded. = 1.0.163 = * Regroup the plugin's code as the first step in the optimization process. = 1.0.162 = * Modifies the javascript code to allow the integration with the CP Blocks plugin. = 1.0.161 = * Removes all unnecessary eval instructions to improves the forms' performance, and increase the security. = 1.0.160 = * Modifies the controls: checkbox, radio buttons, and dropdown to remove a code for compatibility with very outdated versions of the plugin. * Removes the JSON class, included only for supporting PHP versions lesser than 5.2.x = 1.0.159 = * Loads the "HTML Content" fields at 100% of the form's width even if the labels are aligned at left or right. * Allows to apply automatically the format defined in the numbers fields to the values entered by the users (Similar to the currency fields). = 1.0.158 = * Checks the PHP version before applying some functions that were included in PHP versions higher than v5.2.+ = 1.0.157 = * Fixes an issue in the promote banner. = 1.0.156 = * Modifies some styles in the predefined templates. = 1.0.155 = * Modifies the module for accessing the WordPress reviews section. = 1.0.154 = * Fixes an issue in the validation of the number fields for accepting numbers in scientific (exponential) notation. = 1.0.153 = * Modifies the URLs of the admin section. * Modifies the parameters of the json_encode function. = 1.0.152 = * Allows collapse/uncollapse the container fields in the administration section. = 1.0.151 = * Modifies the dependencies in the calculated fields. * Modifies the module that parses the values. * Fixes an issue with the error messages when the fields labels are aligned at left or right. = 1.0.150 = * Modifies the module that parses the values used by the equations. * Professional Version: validates the required input fields in the server side. * Developer Version: modifies the WooCommerce add-on, making it compatible with WooCommerce 3.x * Platinum Version: improves the texts management in the payment gateways add-ons. = 1.0.149 = * Adds a new predefined template. * Adds specific class names to the fields, to allow modify their appearance easier. * Modifies the submenu options to facilitate the access to the documentation. = 1.0.148 = * Fixes an issue in the CDATE operation for dates before 1/1/1970. * Fixes an issue with the placeholder attribute of textarea fields in multi-pages forms. * Fixes an issue with the Radio Button DS, and Checkbox DS fields and the validation rule for required fields in multi-pages forms. = 1.0.147 = * 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. = 1.0.146 = * Modifies the predefined templates and change their titles to make them more coherent. * Adds a new template. * Modifies the phone and container controls. = 1.0.145 = * Modifies the interface of the forms settings. = 1.0.144 = * Prevents to load some of the plugin's resources by duplicated. = 1.0.142 = * Includes a new hook, an action when a form is deleted: cpcff_delete_form, passing as parameter the form's id * Fixes an issue when the user includes a the form's shortcode with the id of an inexistent form, or without any id. * Fixes an issue with the sliders on mobiles when the script load method is configured as direct. = 1.0.141 = * Solves a notice message in the process of saving the form's structure in the database (when the form has a specific structure). * Includes some little changes in the forms builder. = 1.0.140 = * Modifies the setVal method in the controls: checkboxes, radio buttons, and dropdown. * Modifies the module that evaluates the equations to prevent some infinite loops generatedby the users. * Homogenizes the events of controls in the administration section. = 1.0.139 = * Modifies the pagination module for scrolling to the beginning of page only if needed. * Includes the __ME__ constant for referring in the equations to the value of the calculated field that is being calculated. = 1.0.138 = * 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). * Fixes an issue with the ampersand symbols in the default values of fields. * Increases the size of database's columns for email addresses(Affects the Professional, Developer, and Platinum versions of the plugin). * Modifies the "Users Permissions" add-on to allow filtering by the form's id (Affects the Developer and Platinum versions of the plugin). = 1.0.137 = * Modifies the module that loads the templates. * Fixes a warning message, related with the PHP Headers when there are used plugins for managing website's cache. = 1.0.136 = * Fixes an issue with the dependencies and the phones fields. * Fixes an issue loading the default values of fields, defined with javascript. = 1.0.135 = * Allows to define validation rules in the Single Line Text fields using regular expressions. * Allows to disable the choice selected by default in Radio Buttons and DropDown fields. * Modifies the module that loads the forms templates to include the resources only one time in the webpage. * Increases the value of the css rule: z-index applied to the datepicker to fixes the overlapping with the error messages. * 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) = 1.0.134 = * Fixes an issue with the escaped quotes and double quotes. * Improves the code for ticking and selecting the choices in radio buttons, checkboxes, and DropDown. = 1.0.133 = * Allows to define and display left and rigth captions for the slider fields. * Improves the sessions management. * The DropDown DS, Checkbox DS, and Radio Buttons DS fields allow to define the options to select by default. = 1.0.132 = * Includes an alternative method to load the resources required by the forms builder. = 1.0.131 = * Includes a new character encoding option for supporting utf8mb4 characters. * Includes new menu options to facilitate the access to the plugin documentation. = 1.0.130 = * Fixes an issue in the styles related with the container controls in the forms builder. = 1.0.129 = * Improves the performance of the forms builder module (More palpable in forms with large number of fields). = 1.0.128 = * Convert single line comments in the javascript code, into multiple lines comments to prevent conflicts with plugins that minify the pages code. = 1.0.127 = * 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. = 1.0.126 = * 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. = 1.0.125 = * Fixes some characters that break the JSON structure of forms. * Optimizes the code of controls. = 1.0.124 = * Removes the "BOM" characters from the form's structure. * Fixes an issue with the "Upload Files" field when the option of multiple files is selected. * Increases the size of some columns in the database for forms with many many fields. = 1.0.123 = * Modifies the management of checkbox values. = 1.0.122 = * 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. * 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. = 1.0.121 = * New changes in the module that manages the sessions and cookies to prevent conflict with other plugins of sessions management. = 1.0.120 = * 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. = 1.0.119 = * Improves the management of cookies and sessions. * Fixes an issue dragging sections separators into containers. = 1.0.118 = * Fixes an issue loading public resources. = 1.0.117 = * Fixes an issue loading admin resources. = 1.0.116 = * Fixes an issue in the module to prevent the use of sessions. = 1.0.115 = * Fixes an issue in the code to remove fields from the form. * Prevents the use of session variables. = 1.0.114 = * Fixes an issue in the module to duplicate fields. = 1.0.113 = * Allows hide the date part of the date/time fields. = 1.0.112 = * Modifies the module that encodes the attributes of the fields. = 1.0.111 = * Solves the conflict with Autoptimize = 1.0.110 = * New changes in the validation of the Date/Time controls. = 1.0.109 = * Modifies the Date/Time control to validate the field when the hours or minutes are modified. * Uses session variables to identify the resources to load and prevent conflicts with other plugins. * Modifies the action of the form to submit the form to the same page. = 1.0.108 = * Replaces the class constructors in the third party code used by the plugin, to the new standard: __construct = 1.0.107 = * Modifies the interface of the forms settings. * In forms with multiple pages after pressing the next and previous buttons, the page is scrolled to the top of the form page. = 1.0.106 = * Modifies the date time control. * Validates the form's structure before be stored into database to prevent saving corrupted data. * Escapes the values of the fields' attributes. = 1.0.105 = * Closes dynamically the tooltips in mobiles devices after a timeout. * Scroll the browser to the first focusable field, after pressing the buttons: "next page" and "previous page", to solve an issue with iPhones mobiles. * Allows modify the messages for the errors: "Equal To", "Min length/characters", and "Max length/characters" = 1.0.104 = * Modifies some of the predefined templates. * Fixes a possible conflict between the tooltips styles, and the themes. = 1.0.103 = * The feature: optimize equations, is not needed after the last improvements, the current version removes this option. = 1.0.102 = * New change in the Date/Time fields. = 1.0.101 = * Corrects an issue with the Date/Time Fields. = 1.0.100 = * Corrects an issue in the Containers and Phone fields. = 1.0.99 = * Optimizes the dependencies with containers fields. = 1.0.98 = * Optimizes the equations and dependencies. Corrects some issues in the templates: "Clean Design" and "Minimalist Form". = 1.0.97 = * New changes in the equations. = 1.0.96 = * Optimizes the equations, and their evaluations. = 1.0.95 = * Allows duplicate container fields (DIV and Fieldset). = 1.0.94 = * Includes some changes in the "Date/Time" fields, and with the type of data in the Equations to allow the use of records. = 1.0.93 = * Sets the focus in the first focusable element of a multi pages form. = 1.0.92 = * Remove all unnecessary fields from the operands list in the equations editor of the Calculated Fields. = 1.0.91 = * 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. = 1.0.90 = * Corrects an issue with the dragging and dropping of fields into the form. * Corrects an issue with different levels of dependencies between fields. = 1.0.89 = * Partial update to correct some issues, until implementing the definitive solution. = 1.0.88 = * New modifications and optimizations. = 1.0.87 = * New modification in the dependency between fields. = 1.0.86 = * Corrects an issue in the fields dependencies. = 1.0.85 = * Modifies the code in the CAPTCHA script, used for checking the sessions variables. = 1.0.84 = * Modifies the behavior of the slider control. = 1.0.83 = * Prevents the insertion of javascript code through the shortcode (thanks to i0-sec). = 1.0.82 = * Prevents to access to the Cookies classified as "httponly", through the shortcode: [CP_CALCULATED_FIELDS_VAR] (thanks to i0-sec). = 1.0.81 = * Modifies part of generated HTML to satisfy the standard. = 1.0.80 = * Prevents a possible conflict with other plugins that use jQuery Stringify. = 1.0.79 = * Modifies the Radio Button and Checkbox controls. = 1.0.78 = * 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. = 1.0.77 = * Allows to assign custom class names to the hidden fields. * 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. = 1.0.76 = * Includes two new operations: The greatest common divisor between two numbers, and the logarithm of "number A" base "number B". * The Distance module, in the Developer version of the plugin, includes the TRAVELTIME operation to get the time of traveling between two places. * The Financial module, in the developer version of the plugin, includes the operations: IPMT, PPMT, PVIF, FVIFA, XNPV, and XIRR = 1.0.75 = * Fixes an issue with the position of error messages. = 1.0.74 = * Now it is possible to define ranges of invalid dates for date fields. * The Upload Files control, displays the list of selected files, whether the multiple selection is enabled. * Improves the validation rules in Upload Files control. * Fixes the position of validation messages, to prevent overlapping with the controls. = 1.0.73 = * Simple update to increase the spaces between radio buttons and checkboxes distributed side by side. = 1.0.72 = * Modifies the loading of CSS files to fix an issue with multiple forms in a same page but with different templates. = 1.0.71 = * Removes the duplicate LINK tags in the public forms. * The developer version includes improves the performance of DS fields, and includes a "Currency DS" control. = 1.0.70 = * Modifies the labels on Radio and Checkboxes fields. = 1.0.69 = * Modifies the labels on Radio and Checkboxes fields. = 1.0.68 = * Modifies the code of some controls to make the execution more consistent. * Defines some filters and actions to allow the integration with third party plugins. * Adds a new add-on in the developer version of the plugin. = 1.0.67 = * Validates the range of years on Date fields to prevent javascript errors. = 1.0.66 = * Allows the use of language files. = 1.0.65 = * Corrects an issue in the form settings. = 1.0.64 = * Modifies the shortcode: [CP_CALCULATED_FIELDS_VAR] * Modifies the mode for loading the CSS files in the public website. = 1.0.63 = * Prevents an issue caused by the Minify options of "W3 Total Cache". * Validates the fields in the "onblur" event. = 1.0.62 = * Modifies the summary control to display the caption of Slider controls. * Corrects an issue in the reset action of forms with the slider and DateTime controls. = 1.0.61 = * 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. * Validates the database structure, and displays a warning message if the database has not been updated. = 1.0.60 = * Corrects an issue in the radio buttons values. = 1.0.59 = * Corrects a conflict with the "Back-Forward Cache" in the Firefox browser. * 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. * The add_shortcode functions were moved to the 'init' action. * The developer version include the "Distance" module, that integrates the plugin with Google Maps, to get the distance between two addresses. = 1.0.58 = * Prevents that the script tags in the forms are modified by the wpautop function of WordPress. = 1.0.57 = * Improves the behavior of dependencies. Excluding fields like: section breaks and page breaks from dependencies. * Modifies the styles in the predefined layouts. * Allows to disable the forms when the website is visited by search engine spiders and crawlers, increasing the website's speed. * Corrects an issue parsing the text values on fields. * 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. * Moves the checking of database's structure to the plugin activation process. = 1.0.56 = * Adds new parameters to the cached files to prevent issues with the browsers cache, after upgrade the plugin. = 1.0.55 = * Correct some issues in the optimizing process. * Allows to use the HTML fields in dependencies. * Modifies some of predefined layouts. = 1.0.54 = * Optimizes the plugin's code, reduces the accesses to database, and submits less information. = 1.0.53 = * New update for all predefined layouts. = 1.0.52 = * Optimize the predefined layouts. = 1.0.51 = * Corrects an issue determining the website's URL = 1.0.50 = * 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. * Modifies the "HTML Content" control, to removes the tags: