Hi
We use some different types of tickets and some free fields to collect standart-information. For all types there are some fields, so the form is very confusing.
It is possible that at selection for one ticket type there will be shown an appropriate form?
different form for ticket creation?
Moderator: crythias
-
- Znuny expert
- Posts: 208
- Joined: 24 Jan 2012, 15:01
- Znuny Version: 4.0.13
- Real Name: Jörg Brümmer
- Company: Kreis Minden-Lübbecke
different form for ticket creation?
OTRS 5.0.18 auf Debian Linux | Apache2 | MySQL
-
- Moderator
- Posts: 10170
- Joined: 04 May 2010, 18:38
- Znuny Version: 5.0.x
- Location: SouthWest Florida, USA
- Contact:
Re: different form for ticket creation?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
-
- Znuny expert
- Posts: 208
- Joined: 24 Jan 2012, 15:01
- Znuny Version: 4.0.13
- Real Name: Jörg Brümmer
- Company: Kreis Minden-Lübbecke
Re: different form for ticket creation?
I saw that Topic but in my case I want a system where the fields willshown by the Ticket type. In the meantime i got the solution. Thx.
OTRS 5.0.18 auf Debian Linux | Apache2 | MySQL
-
- Znuny expert
- Posts: 208
- Joined: 24 Jan 2012, 15:01
- Znuny Version: 4.0.13
- Real Name: Jörg Brümmer
- Company: Kreis Minden-Lübbecke
Re: different form for ticket creation?
New problem
Yesterday we made the update to 3.1.1. Sinde then my solution for the view of different text-fields for different Ticket-Types dont' work anymore.
Error when a customer create a new ticket:
Objekt erforderlich
{anonymous}(TypeError: Oblekt erforderlich)
printStackTrace(#Object)
{anonymous}(#function)
{anonymous}()
{anonymous}([object Event])
My code in the CustomerTicketMessage.dtl
switch ($('#TypeID').val() ) {
case "1"
document.getElementById('TicketFreeText1').style.display = 'block';
document.getElementById('LabelTicketFreeText1').style.display = 'block';
break;
default-Einstellung:
default:
document.getElementById('TicketFreeText1').style.display = 'none';
document.getElementById('LabelTicketFreeText1').style.display = 'none';
Is it possible that the variable "TicketFreeText" is not right anymore?
Yesterday we made the update to 3.1.1. Sinde then my solution for the view of different text-fields for different Ticket-Types dont' work anymore.
Error when a customer create a new ticket:
Objekt erforderlich
{anonymous}(TypeError: Oblekt erforderlich)
printStackTrace(#Object)
{anonymous}(#function)
{anonymous}()
{anonymous}([object Event])
My code in the CustomerTicketMessage.dtl
switch ($('#TypeID').val() ) {
case "1"
document.getElementById('TicketFreeText1').style.display = 'block';
document.getElementById('LabelTicketFreeText1').style.display = 'block';
break;
default-Einstellung:
default:
document.getElementById('TicketFreeText1').style.display = 'none';
document.getElementById('LabelTicketFreeText1').style.display = 'none';
Is it possible that the variable "TicketFreeText" is not right anymore?
OTRS 5.0.18 auf Debian Linux | Apache2 | MySQL
-
- Znuny expert
- Posts: 208
- Joined: 24 Jan 2012, 15:01
- Znuny Version: 4.0.13
- Real Name: Jörg Brümmer
- Company: Kreis Minden-Lübbecke
Re: different form for ticket creation?
got it.
Variable had changed. "TicketFreeText" => "DynamicField_TicketFreeText"
Variable had changed. "TicketFreeText" => "DynamicField_TicketFreeText"
OTRS 5.0.18 auf Debian Linux | Apache2 | MySQL