Conditional Dynamic Fields [SOLVED]

Moderator: crythias

Locked
davidbann
Znuny newbie
Posts: 92
Joined: 21 Jun 2010, 22:51
Znuny Version: 6.5.2
Real Name: David Bann
Location: South Africa

Conditional Dynamic Fields [SOLVED]

Post by davidbann »

Hi there,

Is it possible to create conditional dynamic fields? In other words, I would like certain tickets to require dynamic fields while others should not require them.

For example, if the service of the ticket is set to "Server Support" then I would like the user to be forced to enter a value for "Which server did this ticket relate to?". If the service of the ticket was set to "PC Support", then I do not want to the "Which server did this ticket relate to?" field to show or be required, since it would no longer make sense...

Is this at all possible?

If it is not possible to depend on the service, perhaps it could be determined by user roles? If the agent has a specific role, then the dynamic field must be required...

Any ideas will be appreciated

Thanks
Last edited by davidbann on 19 May 2014, 17:59, edited 1 time in total.
yuri0001
Znuny superhero
Posts: 630
Joined: 17 Mar 2011, 14:40
Znuny Version: 5.0.6
Real Name: Yuri Kolesnikov
Location: Russia

Re: Conditional Dynamic Fields

Post by yuri0001 »

Hi!
You can do it with ACL (chapter 18 of admin manual).
You can't fully exclude displaying fields If they are not required, but can replace them with blank value.
If they are required - you can display some list of values (or somebody else that is allowed by Dynamic Fields feature) :?
Best regards Yuri Kolesnikov
OTRS 5.0.14, ITSM 5.0.14
SUSE 13.2, MariaDB 10.0.22(productive)
OTRS 5.0.14, ITSM 5.0.14(test)
Locked