Read only after first SAVE of the form

aahitha2
Mega Expert

Hi All,

     I have one editable field(Company - reference field) in the form, while filling the new form it should deplay as editable and after saving the form 1st  that ( company field) should become read only.

@ How can i achieve this please??

 

Thanks,

Aahitha

1 ACCEPTED SOLUTION

ok yes,

now you need to do some changes in your ACL

you doesn't need to write answer=false in script section,please remove this,

and also uncheck admin override(if you want).

View solution in original post

17 REPLIES 17

Hi Pranay,

1).This is my incident form when i opened, so after filing all fileds and and after saving this form then company field should become ready only but not before saving.

find_real_file.png

2.). Acl which i have written

find_real_file.png

find_real_file.png

 

Like this i defined ACl, please suggest me in this...to work 

 

Thanks,

Aahitha

ok yes,

now you need to do some changes in your ACL

you doesn't need to write answer=false in script section,please remove this,

and also uncheck admin override(if you want).

Yes, Pranay, if  i will remove admin override check box, its working now but

MY QUERIES--- PLease guide me

1. Is there another way to make read only of any field after 1st save of form except using ACL's? If is there let me know PLS.

2. If i want to make more than 1 field read only after 1st save am i need to create number of ACLS on those fields? ( EX: if i want to make 3 fields read only then am i need to 3 field ACL's on that table?

Please answer to my quiries, so that i can learn.

Thanks,

Aahitha

UI policies and data policies are there to achieve those functionality ,

UI policies work form level,if you make some field by UI policies then it will be edit on list so we go for data policies.

and the most secure and best practice say go for ACL.

 

AND All thing depends on your requirement.

you also achieve your requirement by UI policies

give condition created | at or before | today..,

and make read only the field's that you want in read only.