How do you make a text field Read Only after it is saved and distibuted? | Community
Skip to main content
July 21, 2010
Solved

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

  • July 21, 2010
  • 23 replies
  • 16555 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by

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

Paul

23 replies

Accepted solution
July 30, 2010

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

Paul

July 30, 2010

Okay, I understand now.  Thank you so much!

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

Level 2
April 17, 2013

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.