== Changelog == = 2.2.0 (25 July 2023) = * Changed: code refactoring * Changed: adopting GMT format instead of host server time for database storage * Changed: using boolean data type to store true and false values, which makes it necessary to check and save the preferences for each form created! * Fixed: general errors * Added: field for URL = 2.1.9 (1 June 2022) = * Changed: fields border color selector with transparent style has removed * Added: fields border color option in the block editor * Added: checked checkbox color option in the block editor = 2.1.8.1 (19 May 2022) = * Fixed: failure to load form stylesheet to the site editor in block themes = 2.1.8 (13 May 2022) = * Fixed: failure to load block style preferences if you are using custom CSS code in a separate file * Fixed: failure to load additional style if a block-based theme is active * Fixed: failure to submit the form via AJAX if a block-based theme is active * Fixed: displaying of form's wrap even if the settings do not allow the form displaying * Fixed: failure to show message before last * Changed: customization options no longer applies to single forms * Changed: multiple spaces option no longer applies to all forms * Changed: code cleaning and optimization = 2.1.7.2 (21 April 2022) = * Fixed: install errors = 2.1.7.1 (21 April 2022) = * Fixed: missing files = 2.1.7 (21 April 2022) = * Fixed: failure to prevent duplicate form submission * Fixed: failure to set focus on captcha field when is invalid * Fixed: failure to indicate where the form is visible when used in a widget area * Fixed: failure to load block style preferences if a block-based theme is active * Fixed: uninstall error * Changed: code cleaning and optimization * Added: option for choosing the notifications settings when messages will need to be moved = 2.1.6 (1 April 2022) = * Fixed: error when form submission is executed via AJAX * Fixed: line breaks preserved in the message * Fixed: backslashes removed in the message * Fixed: loss of block style preferences when updating the plugin * Fixed: insecure code * Changed: tab restyling to display the latest messages * Changed: images compressed to minimize bandwidth usage * Changed: data deletion when uninstalling the plugin is enabled by default * Added: reply to message button * Added: display of the message before the last one = 2.1.5 (10 March 2022) = * Fixed: database errors * Fixed: JavaScript errors * Fixed: failure to display the last message when entries have been moved * Fixed: error when form submission is executed via AJAX * Changed: reorganization of the editor page and the form page * Added: display of the number of moved messages in the entries page = 2.1.4 (5 March 2022) = * Fixed: the consent field is unable to receive focus when clicked or when a validation error should be displayed * Fixed: form creation date error when choosing a city in the WordPress timezone settings * Fixed: deprecated jQuery functions warning * Fixed: failure to display the last message * Changed: warning from the block editor when the same form is used more than once * Added: cleanup of the content of any removed or duplicated form when editing a post = 2.1.3 (25 February 2022) = * Fixed: database errors * Fixed: failure to block duplicate form submission * Fixed: switching the active theme cause deletion of simpleform widgets if the widget area is not present in the new theme * Changed: when the plugin is uninstalled, anything refers to it is now cleaned out * Changed: code cleaning and optimization = 2.1.2 (16 February 2022) = * Fixed: repeated creation of unwanted forms when visiting the widgets page if simpleform has been moved to inactive widgets area * Fixed: migration of the classic widget in the block-based widgets editor * Fixed: error when managing the widget in the customizer page * Fixed: displaying of the title and description when using the block even if the chosen settings do not allow the displaying * Fixed: incorrect displaying of a form visible only by anonymous users when editing it with the block editor * Fixed: uninstall error * Fixed: JavaScript errors * Changed: code cleaning and optimization * Changed: pre-built contact form page * Changed: visibility option and widget related options in the settings page have been removed * Added: admin notice when the form cannot be seen by the admin when visiting the website's front end = 2.1.1 (25 January 2022) = * Fixed: PHP error while activating the plugin = 2.1 (25 January 2022) = * Changed: code cleaning and optimization * Added: forms page = 2.0.9 (22 October 2021) = * Fixed: failure to submit the form when the browser auto-fill option is enabled * Fixed: removal of the style from success message when the form background color is used in the Gutenberg block editor * Changed: better honeypot fields implementation * Added: new color options in the Gutenberg block editor = 2.0.8 (8 October 2021) = * Fixed: failure to load translations for the block back-end scripts * Fixed: styles issues * Changed: code cleaning and minor improvements * Added: color settings section in the Gutenberg block editor = 2.0.7 (30 September 2021) = * Changed: Gutenberg block = 2.0.6 (01 September 2021) = * Fixed: PHP error while activating the plugin * Changed: code optimization and corrections = 2.0.5 (24 August 2021) = * Fixed: not displaying of description above and below the form * Fixed: duplicate queries and slow page loading * Changed: minor improvements = 2.0.4 (12 August 2021) = * Fixed: incorrect display of description above and below the form if the widget is used * Fixed: line breaks converted into a single space when filling in the form * Fixed: minor issues in code * Changed: removal of the limit of only one widget per page * Changed: the display of the form is prevented if the same form is used more than once on the same page * Added: button to permanently remove a form from forms list * Added: borders color option when transparent form style is used = 2.0.3 (21 July 2021) = * Fixed: styling issues on admin pages * Fixed: form fields styling issues * Changed: unification of coding and styling files related to contact form * Changed: removal of the limit of only one block per page * Added: basic inline CSS if the option for disabling the stylesheet is used * Added: admin notice in case there are any SimpleForm widgets running on WordPress 5.8 = 2.0.2 (24 June 2021) = * Fixed: failure to open the editor page by clicking on the button in the widgets page * Fixed: removal of shortcode from the post content if the form id does not exist * Fixed: failure to load some translations on admin pages * Fixed: failure to load additional css code in Gutenberg editor * Fixed: incorrect display of which pages are used to embed the form * Fixed: undefined index errors * Changed: removal of empty option from form selector in the editor and settings pages * Changed: the display of which pages are used to embed the form now include all post type * Changed: the minimal version of WordPress required to use the block is now 5.6 = 2.0.1 (9 June 2021) = * Fixed: PHP error while activating the plugin * Fixed: undefined variable errors * Changed: minor styling changes in admin pages * Added: option for using additional css code = 2.0 (28 May 2021) = * Fixed: form fields styling issues * Fixed: incorrect name in notification email header if the contact form name option is selected * Changed: admin interface * Changed: visibility of HTML5 browser validation option when AJAX is not enabled * Changed: inclusion of the last name in notification email header if the last name field is filled in * Changed: inclusion of user data in notification email header if the name field is not filled in * Changed: code optimization and corrections * Added: Gutenberg block * Added: add new form page * Added: option for choosing the admin color scheme = 1.10.7 (16 April 2021) = * Added: form settings for widget (beta feature) * Added: transparent form style for the widget = 1.10.6 (22 March 2021) = * Fixed: text above/below the form shown after form sending if AJAX is not enabled * Fixed: validation of captcha field if AJAX is not enabled * Fixed: alert for improper use of widget * Changed: form selector in the admin pages * Changed: code optimization * Added: option for choosing the field labels size = 1.10.5 (1 March 2021) = * Fixed: form fields styling issues * Changed: code optimization * Changed: form template code * Added: options for choosing the type of user to whom the form is shown * Added: option for overriding the visibility settings if the user is the admin = 1.10.4 (04 February 2021) = * Added: compatibility with SimpleForm Akismet addon * Added: compatibility with SimpleForm reCAPTCHA addon = 1.10.3 (13 January 2021) = * Fixed: PHP error while activating the plugin * Changed: CSS files minification * Changed: JavaScript files minification * Changed: minor improvements * Added: spam protection tab * Added: option for preventing duplicate form submission = 1.10.2 (30 December 2020) = * Fixed: failure to hide the admin notices * Added: alert for improper use of widget * Added: options for showing/hiding the widget on selected pages * Added: options for adding CSS selectors for the widget = 1.10.1 (1 December 2020) = * Fixed: PHP error while activating the plugin * Fixed: undefined variable errors * Fixed: minor issues in code * Added: form selector in the submissions page = 1.10 (25 November 2020) = * Changed: code cleaning and minor improvements * Added: widget * Added: option for hiding the admin notices * Added: action links in the plugins page = 1.9.2 (19 October 2020) = * Fixed: form fields styling issues * Added: option for adding a link to the privacy policy page = 1.9.1 (8 October 2020) = * Fixed: incorrect displaying of phone error message if AJAX is disabled * Fixed: minor issues in code * Changed: form editor page * Changed: not inline error message option * Added: submit position option * Added: highlighted template * Added: compatibility with version 1.4 of SimpleForm Contact Form Submissions = 1.9 (14 September 2020) = * Fixed: undefined index errors * Added: option for marking optional fields instead of required fields * Added: loading spinner option when AJAX is enabled * Added: option for hiding the validation error message below the form = 1.8.4 (24 August 2020) = * Fixed: error when saving the consent checkbox error message * Fixed: incorrect displaying of error messages if the form is not validated * Fixed: fields styling issues when the right-to-left option is enabled * Fixed: form validation error when the phone field is required * Fixed: typo errors * Changed: reduction of the number of queries and options used * Changed: initial settings during plugin activation * Changed: code cleaning * Added: transparent template = 1.8.3 (11 August 2020) = * Fixed: typo errors * Added: option for sending a copy of the notification email * Changed: option labels = 1.8.2 (30 July 2020) = * Added: option for customizing the error message if the AJAX request fails * Added: option for not using the email of the submitter when replying to a notification email * Changed: settings page * Changed: new smart tags for dynamically changing the auto-responder message * Changed: ability to send notification email to multiple recipients = 1.8.1 (12 July 2020) = * Added: alert for JavaScript disabled * Changed: the empty field error option is not displayed unless the field is required * Changed: better honeypot fields implementation = 1.8 (1 July 2020) = * Changed: JavaScript code optimization * Changed: all errors are now displayed in case of multiple invalid fields * Added: option for changing focus on form errors * Added: option for using a generic message without showing the minimum number of required characters in field length error messages * Added: options for error messages in case of empty required fields = 1.7 (1 June 2020) = * Fixed: no text will be displayed above the form if nothing is entered in the form description option * Fixed: incorrect displaying of error messages when the minimum field length option is used * Fixed: undefined index errors * Fixed: typo errors * Changed: minor issues in code * Added: option for labels position * Added: option for using a word to mark required fields * Added: option for right-to-left text direction * Added: option for disabling HTML5 form validation * Added: option for using a customized JavaScript code = 1.6.1 (10 May 2020) = * Fixed: installation error during new site creation on WordPress Multisite Network * Fixed: dynamic SQL query issues * Fixed: minor issues in code and localization * Added: pre-built pages for contact form and thank you message * Added: pages in draft status will be shown in selecting the confirmation message page = 1.6 (14 April 2020) = * Fixed: screen options button opening error * Fixed: minor issues in code * Added: option for adding a minimum length to text fields * Added: option for adding a maximum length to text fields = 1.5.1 (6 April 2020) = * Fixed: unexpected error during plugin activation * Fixed: display of errors when form submission is not executed via AJAX = 1.5 (1 April 2020) = * Fixed: minor issues in code * Added: field for last name * Added: field for phone = 1.4 (14 March 2020) = * Fixed: name validation error when name field is not required * Fixed: dynamic SQL query issues * Added: option for hiding asterisk in required fields * Added: option for hiding labels * Added: option for placeholders = 1.3.2 (29 February 2020) = * Fixed: sanitization of a variable not properly used inside JavaScript script * Added: new Bootstrap template = 1.3.1 (21 February 2020) = * Fixed: HTML5 validation error when form submission is executed via AJAX * Fixed: captcha field styling issues * Changed: JavaScript code optimization * Changed: readme.txt file content = 1.3 (11 February 2020) = * Added: HTML5 form validation * Added: option for using a basic Bootstrap form template * Added: option for disabling the default stylesheet * Added: Bootstrap markup in contact form template * Changed: form template code for quick and easy customization * Changed: PHP regular expressions for validating form fields * Changed: JavaScript code for input validation * Fixed: admin notices in submissions page * Fixed: typo errors = 1.2 (15 January 2020) = * Added: option for using a customized form template * Added: compatibility with WordPress Multisite Network * Added: compatibility with addon for submitted messages storing * Fixed: public scripts and styles issues = 1.1 (21 December 2019) = * Added: option for adding text above the form * Added: option for adding text below the form * Fixed: form fields styling issues * Fixed: typo errors = 1.0.1 (9 December 2019) = * Changed: readme.txt file content * Fixed: form fields styling issues * Fixed: Italian translation errors = 1.0 (1 December 2019) = * Initial release