- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2020 06:18 AM
How to make "details" as mandatory when Helpful is selected as "NO" in knowledge article
Steps to reproduce.
1. Navigate to https://dev*****.service-now.com/kb
2. Open any of the article
3. Click on Helpful as "NO". Popup appear
4. How to make "Details" mandatory
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-19-2020 09:55 AM
Hi Sandeep,
Thanks for providing the details. The feedback popup is coming from the ng-template "kb-feedback-task-modal" attached to the widget - "kb-article-content".
To make details mandatory - you need to modify the method - c.submitFeedbackTask in the widget - "kb-article-content". If you see the method - "submitFeedbackTask", there is already code to make the reason mandatory. Implement the same for details also.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Wednesday
Hi Shubham,
I have cloned the widget and used the same code you shared. However, when I click on Helpful – No, nothing happens—the popup is not appearing at all.
Could you please help me troubleshoot this? Is there any additional configuration or script that needs to be updated to make details mandatory.
Thanks,
Manasa
