Catalog form to be read-only after submitting

Ankit49
Kilo Contributor

Dear Folks,

 

We want to make all the variables of the form as read only after submitting the service.

 

Please help me to achieve the same.

 

thanks & Regards,

Ankit Kumar

1 ACCEPTED SOLUTION

Sindhu B1
Giga Expert

Hello ,

 

You can use catalog ui policy  to make variable read only  and also you can use client  script 

code:

g_form.setVariablesReadOnly(true);

find_real_file.pngPlease mark it as correct or like  if it correct

 

Regards ,

Sindhu B

 

 

View solution in original post

6 REPLIES 6

Ankit49
Kilo Contributor

There are OTB client script available for the same. Just we need to activate it.

 

function onLoad() {
g_form.setVariablesReadOnly(true);
}

 

Thanks & Regards,

Ankit

Sindhu B1
Giga Expert

Hello Ankit,

 

Thanks for your response.

 

Regards,

Sindhu B