Hello there! I am re-building a custom theme and I need to offer a ‘Delete my account’ option within the customer account page. A dialog box should open asking ‘Do you confirm ?’ with a yes/no option select. On select of ‘yes’ customer will be prompted to enter password to validate their request. I have no idea how access the submit event of ‘customer_login’ form to validate successful password match and send the deletion request as a form?
Thank you for any help !