How to make all fields read-only after form submitting except editable by admins

beycos
Tera Contributor

Hi everyone,

I have created a table where users fill out a form and submit it. After the form is submitted, ( State is Submitted)I want all fields to become read-only for users, but still remain editable for users with the admin role.

What is the best way to achieve this?

Thanks in advance for your help!

Regards,

Beyza

 

2 ACCEPTED SOLUTIONS

1. Create a table level acl for your table ( <table_name>.none).

2. Add admin role to the ACL.

3. Condition of ACL : state is submitted.

View solution in original post

3 REPLIES 3

1. Create a table level acl for your table ( <table_name>.none).

2. Add admin role to the ACL.

3. Condition of ACL : state is submitted.

It worked. thank you