[rt-users] R: R: Built-in field validation (Priority)

Scotto Alberto al.scotto at reply.it
Mon Jun 4 18:33:06 EDT 2012


Got it! That "mandatory" misleaded me .. :)

Maybe this could be of some help/inspiration to you:
http://requesttracker.wikia.com/wiki/ValidateEmail

Besides, there may be some callbacks you may find useful (just supposing):
cd /opt/rt4/
find share/html | xargs grep '\->callback'

http://requesttracker.wikia.com/wiki/CustomizingWithCallbacks


AS
________________________________________
Inizio: rt-users-bounces at lists.bestpractical.com [rt-users-bounces at lists.bestpractical.com] per conto di TheHoboKing [demon_eyes_kyoms at hotmail.com]
Inviato: lunedì 4 giugno 2012 23.36
Fine: rt-users at lists.bestpractical.com
Oggetto: Re: [rt-users] R:   Built-in field validation (Priority)

Hi Alberto,

I've previously looked and installed RT-Extension-MandatoryFields but it
only seems to enforce the field(s) to be filled, what I'm looking for is a
way to validate the date entered, in my case I'd like to limit Priority to
an integer between 0 and 100, anything besides number and past 100 should
not be a valid input.

Hope it makes things more clear.

Thanks!



Scotto Alberto wrote:
>
> I think this is exactly what you are looking for
>
> http://search.cpan.org/dist/RT-Extension-MandatoryFields/
>
> There are also two more specific extensions:
> http://search.cpan.org/dist/RT-Extension-MandatoryRequestor/
> http://search.cpan.org/dist/RT-Extension-MandatorySubject/
>
> BTW I suggest you to look through all the extensions you can find here:
> http://requesttracker.wikia.com/wiki/Extensions
> and here:
> http://requesttracker.wikia.com/wiki/Extensions
> And finally here you can find other contributions (scrips/templates/etc.):
> http://requesttracker.wikia.com/wiki/Contributions
>
> Regards
>
> Alberto
>
> ________________________________________
> Inizio: rt-users-bounces at lists.bestpractical.com
> [rt-users-bounces at lists.bestpractical.com] per conto di TheHoboKing
> [demon_eyes_kyoms at hotmail.com]
> Inviato: lunedì 4 giugno 2012 18.57
> Fine: rt-users at lists.bestpractical.com
> Oggetto: [rt-users]  Built-in field validation (Priority)
>
> Hello all,
>
> Is there a way to validate data entered in one of RT's 'built-in' field
> (i.e: Priority)? I couldn't find any option to select RT's built-in fields
> and set any sort of mandatory/validation parameter.
>
> I can validate the entered data via a scrip but then I don't know how to
> force the Update or Create form to be reloaded and display a message
> stating
> ['Priority' field must match 'XYZ']. (as it behaves for CustomFields).
>
> Thank you
> --
> View this message in context:
> http://old.nabble.com/Built-in-field-validation-%28Priority%29-tp33959201p33959201.html
> Sent from the Request Tracker - User mailing list archive at Nabble.com.
>
>
>
> Alberto Scotto
>
> Blue Reply
> Via Cardinal Massaia, 83
> 10147 - Torino - ITALY
> phone: +39 011 29100
> al.scotto at reply.it
> www.reply.it
>
>
> ________________________________
>
> --
> The information transmitted is intended for the person or entity to which
> it is addressed and may contain confidential and/or privileged material.
> Any review, retransmission, dissemination or other use of, or taking of
> any action in reliance upon, this information by persons or entities other
> than the intended recipient is prohibited. If you received this in error,
> please contact the sender and delete the material from any computer.
>
>
--
View this message in context: http://old.nabble.com/Built-in-field-validation-%28Priority%29-tp33959201p33960783.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.



Alberto Scotto

Blue Reply
Via Cardinal Massaia, 83
10147 - Torino - ITALY
phone: +39 011 29100
al.scotto at reply.it
www.reply.it


________________________________

--
The information transmitted is intended for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer.



More information about the rt-users mailing list