AnsweredAssumed Answered

Present a message

Question asked by sorbelal on Jan 19, 2011

I want to present a custom message on the screen. I had prepared a script like this:

var cats =["cm:categories"]
for (var i = 0; i < cats.length ; i++)
var catName =;
if (cats.length < 3)
status.message = "error, you must categorized the document";
status.redirect = true;
break script;

On the screen, I can see the error "undefinied label" and I want to see "error, you must categorized the document".

Thank you.