Make field readonly on certification task.

HrishabhKumar
Kilo Sage

I have the following requirement:

1) field "abc" should be read only on the certification task.

2) Assignee should be able to Certify or Fail the field based on it's value, but he/she should not be able to edit its value there.

 

How can I achieve this?

1 REPLY 1

Its_Azar
Tera Guru

Hi there @HrishabhKumar 

 

You can make the field "abc" read-only on the Certification Task form by using either a UI Policy or a Client Script. The easiest way is to create a UI Policy on the cert_task table, set it to run on load, and add a UI Policy Action that makes the "abc" field read-only.  or, you can use a client script (onLoad type) with g_form.setReadOnly('abc', true); to achieve the same effect. In both cases, the user will still be able to Certify or Fail the value based on what’s displayed, but won’t be able to edit it directly.

 

If this helps kindly accept the solution thanks much.

☑️ If this helped, please mark it as Helpful or Accept Solution so others can find the answer too.




Kind Regards,

Mohamed Azarudeen Z

Developer @ KPMG

 Microsoft MVP (AI Services), India