The CreatorCon Call for Content is officially open! Get started here.

how to make all the variables read only on SC tasks after the task gets closed

VIKAS MISHRA
Tera Contributor

On the task form i can see all the variables are still editable after the task gets closed, how to i make them not ready only and i want this for any kind of SC_task raised in any cataloge item.

 

VIKASMISHRA_0-1676658539221.png

 

16 REPLIES 16

@BharathChintala i have already tried this on load client but it does not work at all.

@VIKAS MISHRA  It is working I have used it in my organization

 

Can you confirm on which table you are writing this Onload client script and ca you send screen shot of script

If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala

Please see the screenshot 

 

VIKASMISHRA_0-1676662602121.png

 

@VIKAS MISHRA 

g_form.setVariablesReadOnly(true);

 

it looks like v and o is small in you script first change that and try

If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala

@VIKAS MISHRA  Also uncheck isolate script and try once

If my inputs have helped with your question, please mark my answer as accepted solution, and give a thumb up.
Bharath Chintala