Version History with Technical Changes - hassantafreshi/easy-form-builder GitHub Wiki

Easy Form Builder Technical Change Log

v3.7.32

  • Fixed issue of the response box

Date : 15 June 2024

v3.7.31

  • Fixed issues of Sending email notification

Date : 8 June 2024

v3.7.30

  • Change the default response state by the admin to require admin login.
  • replace function __ () to esc_html__ ()

Date:31 may 2024

v3.7.27 ~ v3.7.29

  • Fixed issues of Sending email notification

v3.7.26

  • Fixed issues of response box
  • Added new feature: ‘terms input field’ to form builder
  • Fixed issues of preview forms
  • Added new feature: 'Admin can response messages without login"

Date:16 may 2024

v3.7.22 ~ v3.7.25

  • Fixed issues of response box

v3.7.21

  • Change the name of all JS and CSS files to prevent conflicts.
  • CAPTCHA Issue Present Resolved on Edit Form on Easy Form Builder Panel page
  • Admins Can Now Add Responses Without Logging In
  • "Select All" Checkbox Added for Messages Section on Easy Form Builder Panel
  • Delete Button Added to Message Section on Easy Form Builder Panel 
  • "Read" Button Added to Message Section on Easy Form Builder Panel 
  • Resolved issues with changing phone number in settings.
  • Fixed issues of UI Easy Form Builder

v3.7.20

  • Improved forms preview
  • Fixed mobile signature issue: Removed scroll event during signature
  • Fixed form builder UI bug with captcha activation.

v3.7.19

  • Fixed UI of navigation buttons in the form builder.
  • Added customized format type for sample input files.

v3.7.17 , v3.7.18

  • Added a close button to the modal settings.
  • Added message for verification activation in the Pro version.
  • Updated install.php for code readability.
  • Fixed typos in public.php, functions.php, and readme.txt files.
  • Fixed UI response box in public.php file.
  • Fixed label variable bug in new.js file.
  • Removed unnecessary placeholders in new.js file.
  • Removed autocomplete from unnecessary tags in new.js file.
  • Removed type="button" from tags of submit buttons with IDs btn_send_efb, prev_efb, and next_efb based on W3C standards.
  • Cleaned up code.
  • Fixed link states and cites bug.
  • Improved UI of Form Builder.

v3.7.15 , v3.7.16

Code Log for Version 3.7.15:

  1. Function.php Changes:

    • Added new phrases:
      "prcfld" => $state && isset($ac->text->prcfld) ? $ac->text->prcfld : __('Price field','easy-form-builder'),
      "ttlprc" => $state && isset($ac->text->ttlprc) ? $ac->text->ttlprc : __('Total price','easy-form-builder'),
      "total" => $state && isset($ac->text->total) ? $ac->text->total : __('Total','easy-form-builder'),
      "mlsbjt" => $state && isset($ac->text->mlsbjt) ? $ac->text->mlsbjt : __('Email Subject','easy-form-builder'),
      "fernvtf" => $state  &&  isset($ac->text->fernvtf) ? $ac->text->fernvtf : __('The entered data does not match the form type. If you are an admin, 
       please review the form type.','easy-form-builder'),
      "fetf" => $state  &&  isset($ac->text->fetf) ? $ac->text->fetf : __('Error: Please ensure there is only one form per webpage','easy-form-builder'),
  2. JS Files Updates:

    • Updated new.js:
      • Added new fields 'Price field' and 'Total price' to addNewElement function.
      • Added new fields 'Price field' and 'Total price' to addStyleColorBodyEfb function.
      • Updated fun_offline_Efb.
    • Updated val.js:
      • Added new fields 'Price field' and 'Total price' to fields_efb variable.
    • Updated public/core.js:
      • A new code has been added to display a message (ajax_object_efm.text.fetf) to the user if there are two forms on the page.
  3. Public.php Changes:

    • Updated send_email_Emsfb_ function:
      • Added 'sun' as parameters for all kinds of forms.
      • Updated pay_stripe_sub_Emsfb_api for accepting 'from' value of the payment field.
      • Updated fun_total_pay_efb to disable the price field after payment completion.
      • Updated send_email_Emsfb_ with new parameters for email subject if added by users during form building.
      • Improved UI of the input email for password recovery in the login form.
      • Moved fun_emsFormBuilder_show_messages to new.js and changed parameters to fun_emsFormBuilder_show_messages(content, by, userIp, track, date).
      • Added validation case for 'prcfld'.
      • Fixed duplicated rows of the table matrix.
      • Updated send_email_Emsfb_ function.
      • Improved register new user email content.
      • Added new error message for validation forms after submitting data $this->lanText["fernvtf"].
      • Removed deprecated functions (fun_send_mail_emsFormBuilder, mail_send_form_api, fun_send_email_noti_efb, send_email_Emsfb).
      • Removed unused code related to the pay.js file.
      • Added validation case of 'prcfld' in public.php after the form is filled.
      • Removed unnecessary IP-related function (mail_send_form_api).
      • Removed old mode of function send_email_Emsfb.
      • Removed unused function fun_send_email_noti_efb.
    • Added function delete_old_rows_emsfb_stts_ for removing rows older than 40 days from the table.
  4. Other Changes:

    • Fixed SMS notification problem on payment forms in public.php.
    • Removed pay.js file and moved its content to new.js.
    • Improved accessibility support (ADA) for basic input fields.
    • Changed the structure of the form and moved the <form> tag position when the form is published.
    • Replaced class efb-rounded with rounded-4 in various files.
    • Added aria-required, aria-label, and aria-describedby attributes to input fields for ADA support.
    • Added autocomplete to basic input fields for ADA support.
    • Added roles to the button of the form and labels of inputs for ADA support.
    • Added a form type selector to the settings of forms.
    • Added form type selector phrases to function.php.
    • Updated JS files (admin.js, forms.js, admin/core.js, and val.js) with the new class rounded-4.
    • Added formTypeEl case to save in valj_efb[0].type in admin.js.
    • Added formTypeEls function to build the form type selector on val.js.
    • Called formTypeEls to list of functions in the advanced attribute of the form setting for presenting the form type selector in the form setting menu.

v3.7.14

  • Updated the cache cleanup function (cache_cleaner_Efb) in the class-Emsf-public.php file to resolve an issue related to the LiteSpeed Cache plugin.

do_action( 'litespeed_purge_post', $page_id );

In the earlier version, users encountered a 403 error when trying to submit a form for the second time. This problem occurred because of a conflict with the LiteSpeed Cache plugin.

v3.7.13

  • Fixed problems concerning the sending of email notifications for forms, specifically those linked to the HTML version of server support.

v3.7.12

v3.7.11

  • Updated the row statement on function.php: isset($_SERVER['HTTP_USER_AGENT']) ? strtolower($_SERVER['HTTP_USER_AGENT']) : null;

Pervious version get syntax error because when bot visit page set null to strtolower and get error.

v3.7.10

  • Updated enqueue_jquery function: (class-Emsf-public.php) Upgraded to the latest jQuery version for better performance and security.

  • Added Address Field: (val.js, new.js, admin.js) Implemented a new field specifically designed for capturing full addresses, improving data accuracy and user experience.

  • Changed Email Template Button Text: (class-Emsf-public.php, functions.php) Updated the button text to "View message and reply" for clearer user guidance.

  • Moved lan_subdomain_wsteam_efb function: (admin.js, new.js) Refactored the code by moving this function from admin.js to new.js for better organization and maintainability.

  • Fixed added last column to CSV file: (list_form.js) Addressed the functionality to append the last column to the CSV file, ensuring that it is included in the downloaded CSV file.

  • Improved Form Preview in Easy Form Builder Panel

Technical Details:

  • Refactored JavaScript Files:

Moved handle_change_event_efb to new.js for better organization.

Replaced all instances of sendBack_emsFormBuilder_pub.findIndex(x => x.id_ === id_) with the new function get_row_sendback_by_id_efb(id)

  • Created new.js for common reusable functions.

Moved sendBack_emsFormBuilder_pub to new.js for improved modularity.

  • Enhanced Preview Validation:

Added handle_change_event_efb to admin/core.js for consistent validation in both the builder and preview.

Implemented offset_view_efb in admin/core.js and public/core.js for code optimization.

  • Variables Renaming:

Replaced ajax_object_efm to efb_var across admin/core.js and new.js for clarity.

  • Functions Consolidation:

Moved sendBack_emsFormBuilder_pub from list_form.js to new.js for unified functionality.

  • Functions Updates:

Improved valid_email_emsFormBuilder in admin/core.js for enhanced email validation.

Enhanced valid_file_emsFormBuilder in admin/core.js and public/core.js for refined file validation.

Added new parameters to valid_file_emsFormBuilder in public/core.js for expanded capabilities.

  • Additional Updates:

Updated create_dadfile_efb and viewfileEfb for specific improvements

Updated all occurrences of sendBack_emsFormBuilder_pub.findIndex(x => ) to ensure that x is not null and that it has the required property."

⚠️ **GitHub.com Fallback** ⚠️