I would like to use form fields to mark variable parts of a PDF "template". Using the Java program pdfbox I plan to replace the content of the form fields with data, then mail the PDF to the user. Now I would like to get rid of the "please fill out the form". Can I remove the fillable attribute of the PDF document? How?
Is there a better way to mark the variable parts of the PFD template? I have tried using plain text, but found out that when I am searching for text like $NAME$ it sometime works but at other times I get $, N, A, M, E, $ instead of $NAME$
Thanks for helping,
You would make the fields read-only.
And that should already do it.
There are many ways to fill in form fields with data. For example, an FDF
If you're filling in all of the data, and don't want the person(s) who are receiving the form to be able to edit any of the form fields, you can flatten the document before sending it (NOTE - This does not work with Reader - you need Acrobat). The values will become part of the PDF, and will not be editable form fields anymore. Just make sure you do this to a COPY of the document, since there's no way to get them back after you save the file.