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
_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
SAVE THOUSANDS OF DOLLARS ON RT SUPPORT:
If you sign up for a new RT support contract before December 31, we'll take
up to 20 percent off the price. This sale won't last long, so get in touch today.
Email us at [EMAIL PROTECTED] or call us at +1 617 812 0745.
Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]
Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
Buy a copy at http://rtbook.bestpractical.com