Can you require a field based on the user creating the record?

I am looking to have a field become required in the Case module only for a specific user? Is this possible?

I would also like to make the field dependent on the user creating the record. Is this possible without creating a new layout?

  • Yes, it is possible

    Copy the attached file into folder custom/include/Expressions/Expression/Boolean/

    Create a dependency SetRequired on Cases whose value is: isUserInList(createList("USER_NAME"))

    Go to Admin and run "Rebuild Sugar Logic Functions" / "Quick Repair and Rebuild" / "Clear Additional Cache"

    Clear browser cache and enjoy it!