How to Refresh Form (DocType) after Submit Form

Hi ERPNext Community

I want to Refresh form(Ex. invoice status are changed from fee doctype in Education Module) When clicked “Refresh form” after submit and/or save form

my code is .js

frappe.ui.form.on("Certificates Issue Tool", "refresh_form", function(frm,cdt,cdn) {
	// refresh: function(frm) {
	frm.reload_doc();
	frm.refresh_field("students");
	show_alert("Refresh Form",5);
	
	});

Thanks

1 Like

any one ?