Open ipokkel opened 2 years ago
Possible temporary workarounds
function remove_wp_block_search_required_attribute() {
global $pmpro_pages;
if ( is_page( $pmpro_pages['cancel'] ) ) {
?>
<script>document.querySelector('.widget .wp-block-search__input').required = false;</script>
<?php
}
}
add_action( 'wp_footer', 'remove_wp_block_search_required_attribute', 15 );
This seems to arise whenever a search form is present on the PMPro Cancel Page. On submit of the reason for cancelling the submit for the search form is triggered and takes precedence.
Moderators Only: https://www.paidmembershipspro.com/forums/topic/cancellation-page-not-working/
As reported in ticket 402748 (moderators only).
After typing a reason for cancelling and clicking on Yes, the cursor moves to the web site footer to a sign up form and a popup box appears stating “Please fill out this form”. See screenshot attached. Problem still occurs after deleting and loading updated Add On plugin. When I deactivate Add On plugin, cancellation works as expected. when I fill in the form with my email address the Cancellation is processed as expected.
The general report here sounds like if any other form is on the page it doesn't work. We are looking into this and I've marked this as blocking Next Release.
This came up in another ticket 440616 (moderators only).
Reported for a newsletter sign up in ticket 461703 (moderators only).
... the membership cancelation button also no longer functions. Instead it requires a member to input their e-mail address into the newsletter signup.
Describe the bug Cannot submit the reason for cancelling on the PMPro Cancel Page when the WordPress Block Search Widget is present on the page.
To Reproduce Steps to reproduce the behavior:
Screenshots
Isolating the problem (mark completed items with an [x]):