Answered
I have created a PDF form with Acrobat Professional 8.0, there are over 20 textfield inside it. I hope that all fields will be locked after our vendors fill out the form. What should I do with Javascript? my computer is Mac OSX 10.4.11.
Need I add extra bottom inside the form? or can be fullfilled by code?
Use something like this.
this.getField("Myfield").readonly = true;
However, by itself, this is a very bad idea. At the very least you should have a validation script that checks the fields before locking them.
A better method would be to add a digital signature field to the form, then lock the fields when the user signs the form. This is a more formal process.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script