Dependencies to define a field required according specific

Hello Developers,

I'm working on sugarCRM 8.3. I need to write dependencies on custom field, where field is required or visible for specific role. I tried using JS but it is working only on web not in mobile.

Parents
  • We had built a custom sugarLogic function which do this job.

    Save the attached file into custom/include/Expressions/Expression/Boolean/isUserInRoleListExpression.php

    Go to Admin -> Repair -> Rebuild Sugar Logic Functions

    Then go to Admin -> Repair -> QRR

    You will be able to see such function in Formula Builder on setting up a fiel as calculated. This way you will see the new sugarLogic formula in the formula builder and, eventually, use this formula in any Dependency Action as well.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • We had built a custom sugarLogic function which do this job.

    Save the attached file into custom/include/Expressions/Expression/Boolean/isUserInRoleListExpression.php

    Go to Admin -> Repair -> Rebuild Sugar Logic Functions

    Then go to Admin -> Repair -> QRR

    You will be able to see such function in Formula Builder on setting up a fiel as calculated. This way you will see the new sugarLogic formula in the formula builder and, eventually, use this formula in any Dependency Action as well.

    Regards

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children
No Data