Error message in a scrip

Hi,

I need some Custom Fields to be filled before users could close a ticket.
So i created a scrip “onResolve” which check if CF are blank or not.
If so, scrip leave the ticket open. But I would like user to know that it’s
still open.
How can I make the scrip use Web UI to tell user such a thing?
same way you can’t open a ticket is some CF are mandatory for example.

rgds,
View this message in context: http://old.nabble.com/Error-message-in-a-scrip-tp34100515p34100515.html

Hi,

You can not talk to UI from scrips. You need code in UI to restrict
changes and inform users.On Mon, Jul 2, 2012 at 11:48 AM, Ludovic D ludovic.dessein@axione.fr wrote:

Hi,

I need some Custom Fields to be filled before users could close a ticket.
So i created a scrip “onResolve” which check if CF are blank or not.
If so, scrip leave the ticket open. But I would like user to know that it’s
still open.
How can I make the scrip use Web UI to tell user such a thing?
same way you can’t open a ticket is some CF are mandatory for example.

rgds,

View this message in context: http://old.nabble.com/Error-message-in-a-scrip-tp34100515p34100515.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.

Best regards, Ruslan.