How to put a required field?

Moderator: crythias

Locked
igoralvarez
Znuny newbie
Posts: 44
Joined: 14 Oct 2015, 10:17
Znuny Version: 3.3.8

How to put a required field?

Post by igoralvarez »

Hi,

When i close a ticket i need to put a required field, the field solution. I need to put it becouse it cant close te ticket if the solutions field is empty. Can do it is??

Bye
RStraub
Znuny guru
Posts: 2210
Joined: 13 Mar 2014, 09:16
Znuny Version: 6.0.14
Real Name: Rolf Straub

Re: How to put a required field?

Post by RStraub »

Sure!

Create a dynamic field (e.g. Dropdown) and add that field in the SysConfig under Ticket -> Frontend::Agent::Ticket::ViewClose -> Ticket::Frontend::AgentTicketClose###DynamicField

The value should be 2, then it's a required field.
Currently using: OTRS 6.0.14 -- MariaDB -- Ubuntu 16 LTS
Locked