dounaoji2054 2017-03-03 08:33
浏览 56

Suite CRM:存在数据库验证的位置?

I'm using suite CRM. I need information from an expert.

Where can I find the function that verifies the existence of a field in the database before saving a form?

The scenario I have is to save a new opportunity. After choosing an account from the pop up list, I try to save the new opportunity, but I get an error:

"No match, field doesn't exist".

I found a peice of code in cache\include\javascript\sugar_grp1 :

function validate_form(formname, startsWith) {
    requiredTxt = SUGAR.language.get('app_strings', 'ERR_MISSING_REQUIRED_FIELDS');
    invalidTxt = SUGAR.language.get('app_strings', 'ERR_INVALID_VALUE');
    if (typeof(formname) == 'undefined') {
        return false;
    }

I want to find where the verification with the database is done, any one could give me any information?

  • 写回答

0条回答 默认 最新

    报告相同问题?