Page 1 of 1

Changing required fields based on ticket type

Posted: Wed Feb 10, 2016 3:35 pm
by microcosm
Is there a way to change the required fields by the type of ticket submitted? Example, user is having desktop issues would show relevant fields related to desktops, while applications issues would show fields relevant to collecting user information.

Re: Changing required fields based on ticket type

Posted: Wed Feb 10, 2016 4:47 pm
by Klemen
This is currently not supported by HESK, the custom fields are not that flexible (yet).

Re: Changing required fields based on ticket type

Posted: Wed Feb 10, 2016 5:44 pm
by microcosm
Can you tell me which php files would be effected? Maybe I can add some jquery to hide/disable fields based on a selection if I knew where to start.

Thanks,

Mike

Re: Changing required fields based on ticket type

Posted: Wed Feb 10, 2016 7:26 pm
by Klemen
The index.php is responsible for printing out "submit a ticket" form.

You will need some PHP experience though as the fields are printed out on-the-fly.