Make field read Only after submission

riaz_mansuri
Kilo Guru

Hi,

I have added a new Choice Field on my Change Request form called Submitted As and is open for users to select a drop down option.

Once the change has been submitted I was this field to become Read Only.

A change would be classed as submitted when the state changes to Open or is Work In Progress.

Any Ideas?

Thanks

Riaz

1 ACCEPTED SOLUTION

riaz_mansuri
Kilo Guru

Thanks for all your help.



I ended up with a simple UI Policy which changes it to Read Only when the state is not Draft.



This is fine for us.



Thanks,


Riaz


View solution in original post

7 REPLIES 7

I completely agree with Chuck on this. These fields can be manipulated at any stage if not on form.


anjalichoudhary
Kilo Guru

Hi Riaz,



You can create OnSubmit Client Script and make the field read only by using:



g_form.setReadonly('submitted_as',true);



Hope it helps.



Regards,


Anjali


riaz_mansuri
Kilo Guru

Thanks for all your help.



I ended up with a simple UI Policy which changes it to Read Only when the state is not Draft.



This is fine for us.



Thanks,


Riaz