Problem with frappe.throw

after frappe.throw my form get saved how can i avoid that

Can u share the code?

thanks for ur interest alredy solved with

frappe.msgprint(“sprint overlapping”);

Try with frappe.throw('sprint overlap')

now It shows message but the document get savevd.
please check Stuck-up with Frappe.throw

Put validated=false; before frappe.throw