- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 10:04 PM
Dear Expert.
I would like to make the description field for the Local Update Set Table mandatory because each person in the organization does not fill it out.
Questions
1. it is an OOTB table, is it ok to set a UI policy on the form?
2. Also, how can I make it mandatory on the list screen as well?
Best regards
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 10:35 PM - edited 11-07-2024 10:36 PM
HI @M_Tomy ,
1)To make mandatory field at form level:Create new ui policy open -sys_ui_policy.FORM and provide table as sys_update_set table save the form.
Under related list Ui policy actions-->Click on new--> Filed name(description), Mandatory(true)
2)To make mandatory at list view Create new onCellEdit client script--Table(sys_update_set), Field(descriotion), Type(oncelledit)
In script:
g_form.setMandatory('description',true);
Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 10:16 PM
Hello @M_Tomy
Steps to make the description field mandatory in local update set table:
- right click on the description field label and select configure dictionary
- A form appears, checkbox the mandatory field and save the form.
"If you found my answer helpful, please give it a like and mark it as the accepted solution. It helps others find the solution more easily and supports the community!"
Thank You
Juhi Poddar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2024 10:35 PM - edited 11-07-2024 10:36 PM
HI @M_Tomy ,
1)To make mandatory field at form level:Create new ui policy open -sys_ui_policy.FORM and provide table as sys_update_set table save the form.
Under related list Ui policy actions-->Click on new--> Filed name(description), Mandatory(true)
2)To make mandatory at list view Create new onCellEdit client script--Table(sys_update_set), Field(descriotion), Type(oncelledit)
In script:
g_form.setMandatory('description',true);
Mark it as helpful and solution proposed if it serves your purpose.
Thanks,
Anand