Mandatory CustomFields

Has any one impemented Mandatory Custom fileds while submitting ticket via
web ?

Thanks

Manjunath Hegde

Confidential: This electronic message and all contents contain information
from Syntel, Inc. which may be privileged, confidential or otherwise
protected from disclosure. The information is intended to be for the
addressee only. If you are not the addressee, any disclosure, copy,
distribution or use of the contents of this message is prohibited. If you
have received this electronic message in error, please notify the sender
immediately and destroy the original message and all copies.

Hegde Manjunath wrote:

Has any one impemented Mandatory Custom fileds while submitting ticket via
web ?
It’s on wishlist and would be implemented into upcoming 3.4
http://wiki.bestpractical.com/index.cgi?GeneralWishList

Hi list!

I have RT 3.6.1 installed, and I want to make a few things.

I have managed to make the Subject field to be mandatory by using
JavaScript (it is working fine!).
I also want to make my CustomFields mandatory VIA JavaScript. I know I
can do that in the CF configuration, but i really need a JavaScript
pop-up alert. Specially because I can define the criteria of validation.

A part of my js looks like this (header part of Ticket/Create.html):

if (form.XXXXX.value == “YYYY” ) {
alert( “MESSAGE” );
form.XXXXX.focus();
return false;
}

Where XXXXX is the field name. I’ve tried the CustomFields here, but I
don’t know what the names of the these fields are… (I even tried
"Object-RT%3A%3ATicket–CustomField-17-Value" but it didn’t work)

Any ideas?
Thanks!
Mario Gomide