I’ve used the msgprint("some warning...") command in the custom script validate event I’ve created.
The form validates and gives the message correctly. But the bullet of the popup window is always blue. How can I turn it red? Because it’s validation message and needs to be red.
var indicator = “red”
var title = “It is red!”
var message = “Warning, you are about to /etc/init.d daemon stop!”
frappe.msgprint({“message” : message, “title” : title, “indicator” : indicator});