Making Details mandatory on popup when Knowledge Article is marked as Not Helpful
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2022 03:53 PM
I am trying to make the Details mandatory on the popup when someone marks a Knowledge Article as Not Helpful. I have seen several posts related to this but have not seen quite the solution we are looking for.
Updated the ng-angular template "kb-feedback-task-modal" per the screenshot but it is not working. We successfully made the Details field read only by adding "readonly" in this location but "required" doesn't seem to be working.
Thanks!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2022 05:49 PM
HI that pop up window comes from a angular template "kb-feedback-task-modal". You need to check this to customise. I am not sure that is possible but you can try
Harish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-16-2023 11:15 AM
I don't think those messages are getting populated from angular template "kb-feedback-task-modal". There must be something else because I don't see the pop-up windows messages in that template.
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-26-2022 06:10 PM
Hi you need to clone Knowledge Article Content widget and in client controller you can make this as mandatory. Look for the below function
c.submitFeedbackTask = function(){
if(!c.data.reason){
c.flagMessage = "${Please provide the mandatory details}";
$("#detailsComment").focus();
return false;
}
// add the below bold statement
if(!c.data.details){
c.flagMessage = "${Please provide the mandatory details}";
$("#detailsComment").focus();
return false;
}
else{
c.submitted = true;
c.closePopup();
}
}
Harish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎07-27-2022 06:34 PM
Hi @megan Any update on this? Were you able to do this.?Please close the thread if you got solution
Harish