+ Start a Discussion

shouldn't include the option to have public comments !!

Hi folks,

How can we prvent the user not to select the 'Public' checkbox while creating a case comment for few type of cases?

I know we can show an error message upon selecting 'Public' checkbox by creating a trigger on case comment object. 

But I am wondering is there any way to disable, or grayout, the public checkbox so that it cannot even be selected?

I believe the only way would be to create a custom visualforce page/component and use that to create the underlying CaseComment object.