AnsweredAssumed Answered

check_form equivalent in sugarcrm 7.x

Question asked by Doddy Amijaya on Feb 8, 2016
Latest reply on Feb 9, 2016 by Doddy Amijaya

Hi All,

I have to port over sugar customization from version 6.x to 7.x and I have a question regarding check_form function.

in the 6.x version there is a function called check_form and we can customize it by adding our own version of check_form in a javascript file and we include that javascript file in, says editviews.php.

 

what is the equivalent function of check_form in sugarcrm 7.x?

my customization is adding a validation (not a field validation) when users click the save button, it will hit a specific entrypoint and then it will return back the value.

based on the value returned it will pop up a dialog or it will let the users save the changes.

Outcomes