Hello again!
I was wondering if anyone knew of a way to only highlight certain fields on a form. We have some PDFs in which we populate certain fields based on information they give us, but we need them to fill in some of the other fields.
I was thinking that there might be a way to change a field to a "Required field" so that I could set only to highlight required fields, but there doesn't seem to be any documented way to do this.
Anyway... if there is any functionality that people know of to highlight only certain fields, that would be awesome.
Thanks for all your help!
(I can include a zip file of a PDF with fields if people would like)
Question regarding highlighting fields
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: Question regarding highlighting fields
PDF-XChange Viewer doesn't support anything like this..
You can choose what type of fields you want to highlight (such as Textboxses, Listboxses, Radiobuttons etc.) - that’s all for now.
You can choose what type of fields you want to highlight (such as Textboxses, Listboxses, Radiobuttons etc.) - that’s all for now.
-
- User
- Posts: 15
- Joined: Tue Jan 27, 2009 2:38 pm
Re: Question regarding highlighting fields
Ok. Would there be any way to flatten only certain fields, or lock fields so that they cannot edit the ones we fill automatically?
-
- User
- Posts: 664
- Joined: Tue Nov 14, 2006 12:23 pm
Re: Question regarding highlighting fields
You can use Java Script to lock fields in the PDF document.
where f1_01(0) is name of the field.
Also you can change field colour, so it will looks like some type of highlight.
For more information about JS in PDF please look at the Acrobat JavaScript Object
Specification.
Code: Select all
var f = this.getField("f1_01(0)");
f.readonly = false
Also you can change field colour, so it will looks like some type of highlight.
To run JS with PDF-XChange viewer you can use RunJavaScript function.var f = this.getField("f1_01(0)");
f.fillColor = color.yellow;
For more information about JS in PDF please look at the Acrobat JavaScript Object
Specification.