AnsweredAssumed Answered

How to redirect user back to the parent module in Sugar 7 on server side after validation?

Question asked by Usman Saeed on Feb 26, 2014
Latest reply on Feb 27, 2014 by Usman Saeed
Hi all,

I am making a check on meetings (meetings is created from contact sub-panel), if user is creating a meeting that exceeds the limit (quota) for that user, it should not create the meeting instead it displays error/notice message to the user that you can not add meeting.

For this I am using validation on server side, before_save hook. But I could not figure out how to redirect user back to the parent module and how to display the error message.

Somebody might help in this issue.

Thank you,

Usman

Outcomes