gocodebox / lifterlms

LifterLMS, a WordPress LMS Solution: Easily create, sell, and protect engaging online courses.
https://lifterlms.com
GNU General Public License v3.0
174 stars 134 forks source link

Confirmation Field in the User Email section cannot be turned off or disabled. #2646

Open alextonio12 opened 2 months ago

alextonio12 commented 2 months ago

Reproduction Steps

  1. Go to the WordPress Dashboard
  2. LifterLMS > Forms > Edit One of the Forms, as you can see in this screenshot: https://share.zight.com/rRuDP4Zo.
  3. Select the User Address > User Email > On the right side settings (Blocks) > Enable Confirmation Field > then when you click it again, you cant disable the Confirmation Field. As you can see in this screenshot: link to the screenshot.

Expected Behavior

  1. You should be able to turn off or disable the "Confirmation Field."

Actual Behavior

  1. When the "Confirmation Field" is enabled, you can't disable it or turn it off.

Error Messages / Logs


### System and Environment Information

<details>
<summary>System Report</summary>

<!-- Paste your System Report between the three backticks below this line -->

Support

WordPress

Home Url: https://my-test-site.myliftersite.com Site Url: https://my-test-site.myliftersite.com Login Url: https://my-test-site.myliftersite.com/wp-login.php Version: 6.5.2 Debug Mode: No Debug Log: No Debug Display: Yes Locale: en_US Multisite: No Page For Posts: Blog (#2029) [https://my-test-site.myliftersite.com/blog/] Page On Front: Home (#1015) [https://my-test-site.myliftersite.com/] Permalink Structure: /%postname%/ Show On Front: page Wp Cron: Yes

Settings

Version: 7.6.0 Db Version: 7.6.0 Course Catalog: Courses (#2202) [https://my-test-site.myliftersite.com/courses/] Membership Catalog: Membership Catalog (#2129) [https://my-test-site.myliftersite.com/memberships/] Student Dashboard: Dashboard (#2131) [https://my-test-site.myliftersite.com/dashboard/] Checkout Page: Purchase (#2130) [https://my-test-site.myliftersite.com/purchase/] Course Catalog Per Page: 30 Course Catalog Sorting: menu_order,ASC Membership Catalog Per Page: 9 Membership Catalog Sorting: menu_order Site Membership: Not Set Courses Endpoint: my-courses Edit Endpoint: edit-account Lost Password Endpoint: lost-password Vouchers Endpoint: redeem-voucher Autogenerate Username: no Password Strength Meter: no Minimum Password Strength: Terms Required: no Terms Page: Not Set Checkout Names: Checkout Address: Checkout Phone: Checkout Email Confirmation: no Open Registration: no Registration Names: Registration Address: Registration Phone: Registration Voucher: Registration Email Confirmation: no Account Names: Account Address: Account Phone: Account Email Confirmation: no Confirmation Endpoint: confirm-payment Force Ssl Checkout: no Country: US Currency: USD Currency Position: left Thousand Separator: , Decimal Separator: . Decimals: 2 Trim Zero Decimals: no Recurring Payments: yes Email From Address: team+sandbox@lifterlms.com Email From Name: A LifterLMS Sandbox Email Footer Text: Email Header Image: Cert Bg Width: 800 Cert Bg Height: 616 Cert Legacy Compat: no

Constants

LLMS_REMOVE_ALL_DATA: undefined LLMS_REST_DISABLE: undefined LLMS_SITE_FEATURE_RECURRING_PAYMENTS: undefined LLMS_SITE_IS_CLONE: undefined

Gateways

Authorize.Net: Disabled Authorize.Net Test Mode: Disabled Authorize.Net Logging: Authorize.Net Order: 0 Stripe: Enabled Stripe Test Mode: Enabled Stripe Logging: no Stripe Order: 1 PayPal: Enabled PayPal Test Mode: Enabled PayPal Logging: no PayPal Order: 2 Manual: Enabled Manual Logging: Manual Order: 3

Server

Mysql Version: 5.7.42 Php Curl: Yes Php Default Timezone: UTC Php Fsockopen: Yes Php Max Input Vars: 5000 Php Max Upload Size: 512 MB Php Memory Limit: 256M Php Post Max Size: 1024M Php Soap: Yes Php Suhosin: No Php Time Limt: 30 Php Version: 8.0.30 Software: Apache/2.4.59 (Unix) OpenSSL/1.1.1 Wp Memory Limit: 256M

Browser

HTTP USER AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36

Theme

Name: Sky Pilot Version: 1.3.2 Themeuri: https://lifterlms.com Authoruri: https://lifterlms.com Template: Child Theme: No Llms Support: No

Plugins

Code Snippets: 3.6.4 LifterLMS: 7.6.0 LifterLMS Advanced Coupons: 1.0.1 LifterLMS Advanced Quizzes: 3.2.0 LifterLMS Advanced Videos: 1.0.0 LifterLMS Assignments: 2.2.2 LifterLMS Authorize.Net Payment Gateway: 1.1.0 LifterLMS ConvertKit: 2.1.2 LifterLMS Course Cohorts: 1.0.0 LifterLMS Custom Fields: 2.0.2 LifterLMS Formidable Forms: 1.0.5 LifterLMS Gravity Forms: 2.1.4 LifterLMS Groups: 1.0.1 LifterLMS MailChimp Add-on: 3.3.1 LifterLMS Ninja Forms: 1.1.1 LifterLMS Notes: 1.0.5 LifterLMS PayPal Gateway: 1.4.0 LifterLMS PDFs: 2.3.0 LifterLMS Private Areas: 1.1.5 LifterLMS Private Site: 1.0.0 LifterLMS Social Learning: 1.6.0 LifterLMS Stripe Payment Gateway: 5.5.0 LifterLMS Twilio: 2.0.0 LifterLMS WooCommerce: 2.5.2 LifterLMS WPForms: 1.1.2 Redirection: 5.4.2 User Switching: 1.7.3 WooCommerce: 8.8.3 Woo Subscriptions: 6.0.0

Integrations

BbPress: No BuddyPress: No LifterLMS ConvertKit: No LifterLMS Course Cohorts: Yes LifterLMS Groups: Yes LifterLMS Formidable Forms: No LifterLMS Gravity Forms: No LifterLMS Ninja Forms: No Twilio: No WooCommerce: No LifterLMS WPForms: No LifterLMS MailChimp: No LifterLMS PDFs: Yes LifterLMS Private Areas: Yes LifterLMS Private Site: No LifterLMS Social Learning: Yes LifterLMS Notes: Yes Videos: Vimeo: No Videos: Wistia: Yes Videos: YouTube: Yes

Template Overrides

course/difficulty.php (ver: ): /srv/users/manager/apps/my-test-site/public/wp-content/themes/sky-pilot/lifterlms/ (ver: 1.3.2) course/lesson-count.php (ver: 7.5.0): /srv/users/manager/apps/my-test-site/public/wp-content/themes/sky-pilot/lifterlms/ (ver: 1.3.2) loop/content.php (ver: 3.14.0): /srv/users/manager/apps/my-test-site/public/wp-content/themes/sky-pilot/lifterlms/ (ver: 1.3.2)



</details>

This issue has be recreated:
+ [x] Locally
+ [x] On a staging site

### Browser, Device, and Operating System Information

+ Browser name and version: Google Chrome
+ Operating System name and version: Windows
+ Device name and version (if applicable)
alextonio12 commented 2 months ago

The other issue it only shows up occasionally, so I can't confirm if it's really a bug or issue, or if it's related to my device. However, if you keep trying to edit the form or keep clicking it, it will freeze (hang).