I want to make the description field in the Local Update Set Table a required field.

M_Tomy
Tera Expert

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

1 ACCEPTED SOLUTION

Anand Kumar P
Giga Patron
Giga Patron

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

View solution in original post

2 REPLIES 2

Juhi Poddar
Kilo Patron

Hello @M_Tomy 

Steps to make the description field mandatory in local update set table:

  1. right click on the description field label and select configure dictionary
  2. A form appears, checkbox the mandatory field and save the form.

JuhiPoddar_1-1731046488446.png

 

JuhiPoddar_0-1731046403588.png

"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

 

Anand Kumar P
Giga Patron
Giga Patron

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