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-(Priority)-tp33959201p33959201.html

I think this is exactly what you are looking for

There are also two more specific extensions:

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@lists.bestpractical.com [rt-users-bounces@lists.bestpractical.com] per conto di TheHoboKing [demon_eyes_kyoms@hotmail.com]
Inviato: lunedì 4 giugno 2012 18.57
Fine: rt-users@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-(Priority)-tp33959201p33959201.html

Alberto Scotto

Blue Reply
Via Cardinal Massaia, 83
10147 - Torino - ITALY
phone: +39 011 29100
al.scotto@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.

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

RT-Extension-MandatoryFields-0.6 - Enforce users to fill standard fields when creating a ticket - metacpan.org

There are also two more specific extensions:
RT-Extension-MandatoryRequestor-0.02 - Enforce users to fill the requestor when creating a ticket - metacpan.org
RT-Extension-MandatorySubject-0.05 - Enforce users to fill the subject when creating a ticket - metacpan.org

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@lists.bestpractical.com
[rt-users-bounces@lists.bestpractical.com] per conto di TheHoboKing
[demon_eyes_kyoms@hotmail.com]
Inviato: lunedì 4 giugno 2012 18.57
Fine: rt-users@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-(Priority)-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@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-(Priority)-tp33959201p33960783.html

Got it! That “mandatory” misleaded me … :slight_smile:

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@lists.bestpractical.com [rt-users-bounces@lists.bestpractical.com] per conto di TheHoboKing [demon_eyes_kyoms@hotmail.com]
Inviato: lunedì 4 giugno 2012 23.36
Fine: rt-users@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

RT-Extension-MandatoryFields-0.6 - Enforce users to fill standard fields when creating a ticket - metacpan.org

There are also two more specific extensions:
RT-Extension-MandatoryRequestor-0.02 - Enforce users to fill the requestor when creating a ticket - metacpan.org
RT-Extension-MandatorySubject-0.05 - Enforce users to fill the subject when creating a ticket - metacpan.org

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@lists.bestpractical.com
[rt-users-bounces@lists.bestpractical.com] per conto di TheHoboKing
[demon_eyes_kyoms@hotmail.com]
Inviato: lunedì 4 giugno 2012 18.57
Fine: rt-users@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-(Priority)-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@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-(Priority)-tp33959201p33960783.html

Alberto Scotto

Blue Reply
Via Cardinal Massaia, 83
10147 - Torino - ITALY
phone: +39 011 29100
al.scotto@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.