Is there a way in the ticket-create-screen to check the value of a dynamic textfield via javascript??
I have a couple of dynamic fields in my ticket-create-screen and would like to "validate" one of these, BEFORE the tickets gets submitted. I was thinking about onchange()="validateText()" in javascript, and run a function that does a validation on the fly. Do i have to use the templates in the AgentTicketEmail.dtl ???
Code: Select all
<!-- dtl:block:DynamicField_Field1 -->
<div class="Row Row_DynamicField_$QData{"Name"}">
$Data{"Label"}
<div class="Field">
$Data{"Field"}
</div>
<div class="Clear"></div>
</div>
<!-- dtl:block:DynamicField_Field1 -->