Example:
We have 3 ticket types created for specific customer with specific Theme
Bug
New Feature
Clarification
All of them are in sql with these id's : 13 - Bug, 15 - New Feature, 14 - Clarification
Here is a part of code in dtl file "CustomerTicketMessage.dtl"
Code: Select all
<!-- dtl:block:TicketType -->
<div>
<!--<label for="TicketNumber">$Config{"Ticket::Hook"}</label>
<input title="Ticket#" type="text" name="TicketNumber" size="30" value="$QData{"TicketNumber"}" />-->
<label for="TypeID" class="Mandatory">
<span class="Marker">*</span>
$Text{"Type"}:
</label>
<select name="TypeID" id="TypeID" class="Validate_Required ">
<option value="13">Bug</option>
<option value="14">Clarification</option>
<option value="15">New Feature</option>
</select>
<div id="TypeIDError" class="TooltipErrorMessage" ><p>$Text{"This field is required."}</p></div>
<div id="TypeIDServerError" class="TooltipErrorMessage NoJavaScriptMessage$QData{"TypeIDInvalid"}" ><p>$Text{"This field is required."}</p></div>
<div class="Clear"></div>
</div>
<!--dtl:js_on_document_complete-->
<script type="text/javascript">//<![CDATA[
$('#TypeID').bind('change', function (Event) {
// make sure the ticket is not yet created on queue change
$('input#Expand').val(1);
Core.Form.Validate.DisableValidation($(this).closest('form'));
$(this).closest('form').submit();
});
//]]></script>
<!--dtl:js_on_document_complete-->
<!-- dtl:block:TicketType -->
So, my question is: Why user cannot select ticket type? Not only in modified theme, but also in Standard theme, which haven't been modified and does contain different ticket types?