Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

How to make widget checkbox mandatory

asd22
Tera Contributor

i have a checkbox in my widget html:

<label>
  <input type="checkbox" ng-model="c.data.accepted" />
correct</label>

this is not a mandatory checkbox, how do i make it so?

5 REPLIES 5

Renat Akhmedov
Tera Guru

Hi @asd22 

Most likely, you don’t need to enforce this in the widget at all - you should make the checkbox mandatory on the Catalog Item or Record Producer form that your widget is using.


Best regards,
Renat Akhmedov