Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.

Mark Solution

This conversation has been locked due to inactivity. Please create a new post.

SOLVED

How do you make a text field Read Only after it is saved and distibuted?

Avatar

Former Community Member

How do you make a text field read only after it is saved and distibuted?

LiveCycle Designer ES 8.2

This JavaScript code on the exit event:

textField1.access = "readOnly";

This works after the user loses focus on the field, however after it is saved and distributed, that field is no longer "read-only".

I need to have staff insert information into a text field and then distribute it out to customers, and those fields have to be protected.

How do you do this?

1 Accepted Solution

Avatar

Correct answer by
Former Community Member

No ....it must be there to be a valid schema....but it is not used by the product when offline.

Paul

View solution in original post

23 Replies

Avatar

Correct answer by
Former Community Member

No ....it must be there to be a valid schema....but it is not used by the product when offline.

Paul

Avatar

Former Community Member

Okay, I understand now.  Thank you so much!

Today I will work on getting it connected without errors. Have a wonderful day - Eve

Avatar

Level 2

Hi,

Can you please how to lock only fields in the form but not the buttons. When i am using the above script it is even locking the Buttons in the page.