Quantcast
Channel: Adobe Community : Popular Discussions - JavaScript
Viewing all articles
Browse latest Browse all 12130

Make field readonly upon opening document

$
0
0

I do not know where to put the Javascript to do this.  There is a Document Javascripts where I named a script "Disable" and in that function, wrote:  this.getField("myfield").readonly = true;

 

Then, I closed the document, re-opened it, and the field is NOT readonly.  How do I make this work?

 

Thanks.


Viewing all articles
Browse latest Browse all 12130

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>