make reference field mandatory through ui page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2023 05:05 AM
Hi All,
we created fields on one table and getting the field on the UI page but we don't have option to make field mandatory from table. So we need to make reference field mandatory through UI page.
through below HTML Script line iam trying to work on it but its not working.
<sn-record-picker ng-if="question.sys_id =='283cc5b11b9129103e71ddf59b4bcbe6'" field="new_business_service" table="question.table_name" display-field="'name'" display-fields="'u_delag_display_name,vendor'" value-field="'sys_id'" default-query="question.query" search-fields="'name,u_delag_display_name'" page-size="95" onchange="checkMandatory()" id='business service name' ></sn-record-picker>
Could you please suggest me on this.
Regards,
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-07-2023 05:49 AM
Hi,
Check this out
Solved: UI Page, Reference field mandatory not working - ServiceNow Community