Knowledge feedback - kb-feedback-task-modal

poyntzj
Kilo Sage

I have a requirement to modify the knowledge feedback, and most of it is done, except I need to make sure the comments fields is Mandatory.

I have l looked at the Knowledge Article Content Widget and the kb-feedback-task-modal but it does not seem to matter if I add reqiuired, required="required", required="true", ng,required, ng.required="true", it is not being made mandatory

Am I missing something obvious here ? or is there an alternative method to be used to make sure it is mandatory (and the user can easily see it is ?)

1 REPLY 1

Julian Poyntz
Tera Contributor

so following this https://www.servicenow.com/community/developer-forum/make-details-on-sp-knowledge-feedback-mandatory...

I have made the changes to the client controller and that is working, however

 

1.  How can I get the asterisk to appear - trying required, required=true, required=required, ng-required

2. I can add an "alert" to inform the user that it needs to be filled in, but is there a more elegant method ?