Message on Control application

I’m trying to display a message box when OnValidate runs on a control application. I’ve tried sc_ajax_message, but it doesn’t seem to work. Are there any alternatives?

Ajax message don’t works in this event.

Use sc_alert(“Message”)

Thank you Giu :o