You are not logged in.
Hi ..! I intercept ticket request during creation of a ticket and delete CONTENT value this allow me to save the ticket with no CONTENT text.
Next i need to validate this field has no black data but the validation must be in server side (actually make in js)
I try to add this code to file /front/ticket but during execution throw me and exception with messsage "cant not use object of type Ticket as array"
if (Html::clean($track["fields"]["content"]) == "") {
// Html::displayRightError('Ingresar un valor para el campo Descripción') ;
exit ;
}
I use xampp and GLPI v. 10.0.6
How can i make this validation on server side
thanks for your support
Offline