You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Return response from Hook

edited Jun 7, 2022 1:21PM in General Technical Discussions


Return response from pre_incident_create hook model


Hello Everyone,

I am working with costumer portal version 3.8.4 ( agent desktop 20 .

We have requirement to validate few of fields in incident before the incident created from customer portal so we are using pre_incident_create hook and trying to validate the fields and every thing is working fine, we are getting values on our custom model which we link in hook.php.

But we are getting issue when we returning error string from Hook.


 And because of this return message is not shown on ask a page as validation error

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!