View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Mandatory fields - ProjeQtOr
 

Mandatory fields

More
14 Nov 2013 16:44 #1 by ekolossov
Mandatory fields was created by ekolossov
Hi,
Can you please suggest how we can make some fields in Tickets mandatory:
• Urgency
• Product
• Original Version
• Criticality
• Priority
Regards,
Evgueni

Please Log in or Create an account to join the conversation.

More
14 Nov 2013 17:05 #2 by babynus
Replied by babynus on topic Mandatory fields
In /model/Ticket.php, add a value in the $_fieldsAttributes array so that attribute "required" is defined for mandatory fields.

for instance, for product :
"idProduct"=>"required",

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: ekolossov

Please Log in or Create an account to join the conversation.

More
15 Nov 2013 16:53 #3 by ekolossov
Replied by ekolossov on topic Mandatory fields
Some problems: Product ans Original version allow empty value which system consider valid, so "required" is not work in this cases. For Criticality and Priority empty value is not allowed, so system picking up as default THE LAST value from the list

Please Log in or Create an account to join the conversation.

More
16 Nov 2013 12:51 #4 by babynus
Replied by babynus on topic Mandatory fields

Product ans Original version allow empty value which system consider valid, so "required" is not work in this cases

If you set attribute "required", empty value will not be allowed any more.

For Criticality and Priority empty value is not allowed, so system picking up as default THE LAST value from the list

Default is always the Fisrt item in the list, sorted on the "order" field.

Babynus
Administrator of ProjeQtOr web site

Please Log in or Create an account to join the conversation.

More
18 Nov 2013 09:28 #5 by ekolossov
Replied by ekolossov on topic Mandatory fields
Not quite what expected but will do...

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.041 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.