Hi Everyone,
I’m trying to request the user to verify their password only then they can submit the document.
This is the code i’m using:
before_submit: function(frm) {
frappe.validated = false;
frappe.verify_password(function() {
frappe.validated = true;
});
}
Problem: The form doesn’t get submitted even if the user have verified their password.
Question: How can I continue the submission after verifying the user’s password?