Js validation on meeting module create view in sugarcrm Mobile app

Hi All,

I have one use case, as a sugarcrm user if I am creating meeting for converted lead then system should display error popup message "meeting cannot be created for converted prospect." on meeting create view in sugarcrm Mobile app.

Can anyone suggest how to add above js validation on meeting module create view in sugarcrm Mobile app

Please suggest asap.

Kindest Regards,

Shreya

Parents Reply Children
  • Hi Kaizer,

    Thanks for responding, I was also trying same way with below exception::

    "throw new SugarApiExceptionInvalidParameter('error message here');" in logic hook and on browser it show as error message same how sugar shows errors on UI but in mobile view it shows error in Chrome's developer tools -> Network tab and on mobile UI it show generic message to user "Internal error 422, please try again later", is there any way to display error on mobile UI?

    Please suggest?

    Kindest Regards,

    Shreya