Making Checkbox Mandatory on a Widget
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-21-2024 03:02 AM
Hi All,
How can we make checkbox mandatory in a Widget? Please suggest
Below is the code I have written for the widget
<div
ng-if="c.data.offNetworkOptionSelected == 'User is unavailable currently due to prolonged leave'"
style="margin-top: 10px"
>
<small
>${If you are currently on a leave of absence (LoA) (or are reporting on behalf of someone who is on LoA),
updating your status in HRDirect automatically updates the status of all workspaces and devices on a
colleague profile. This will also pause further chasers}
</small>
<br />
<div>
<br />
<p>
<label class="radio-inline"
><input
type="checkbox"
value=" I have read and understand the process"
ng-model="c.data.requiresMachine"
ng-click="checkAll()"
/>${I have read and understand the process}
</label>
</p>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-22-2024 04:03 AM
Hello @Ankita9793,
Please refer to the below link:
https://www.servicenow.com/community/itsm-forum/checkbox-mandatory-in-widget/m-p/524146
If it is helpful, please mark it as helpful and accept the correct solution.
Thanks & Regards,
Abbas Shaik