These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

How to create grey text field which is printed in white?

HeikeK
Registered: Nov 2 2009
Posts: 5

I want to have text fields which have a grey background on the screen (so they can be easily seen and the user doesn't forget to fill them in). However they should be printed out in white, because some of our customers fax the forms back.

The strange effect for me is: I set the background to "None" and the fields are still displayed in light grey in LiveCycle. I also see them in light grey in Acrobat Pro. However my colleague told me, that they are not at all visible in Acrobat Standard.

Any ideas?
Thank you
HeikeK

My Product Information:
LiveCycle Designer, Windows
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Hi,

Acrobat and Adobe Reader using a function called "Highlight Fields" if the PDF contains form fields.
If it is activated all form fields are highlighted with a color (default = light blue), even if the fields are generally white or blank.
To deactivate it you have to click on the formular button (with sheet with 2 violet rectagles) on the left top of the navigtion panel.
Then a violet bar will appear with some instructions for filling the form and the button for highligting the fields on the right.
Deactivate the function to see the form in the way it will be printed/submitted.

Image for explanation:
[url]https://share.acrobat.com/adc/document.do?docid=7487d146-e92b-41e4-9de3-0ee767e721db[/url]

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

HeikeK
Registered: Nov 2 2009
Posts: 5
Hi radzmar,
thanks for the answer. I found the button and understand how it works.

Do you have an idea concerning my first question? How to create a text field which is (permanently) highlighted in grey on the screen but has a white background when printing?

Thanks
Heike K
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Adobe has a nice sample for this.

[url]http://partners.adobe.com/public/developer/en/livecycle/designer/pdfs/ChangingFieldAndSubformBGColors.pdf[/url]

You can use the scripts for coloring the fields in the pre print and post print event of your form fields.
But think of, this means a lot of scripting, if you have a large form.

If you have no idea about scripting you have an alternative.
Just wrap all your fields per page into a subform and the duplicate this subform.
Place the duplicated subform right over the original and rename in to "SubFormName_Highlight".
Color all the fields in the highlight subform and set their binding to "global".
Finally set the visibility of the highligh subform to "screen only".

If the form is printed, only the original subform is visible.
Because of the global binding of the fields, the original subform has the same values as the highligh subform.

I hope this was clear enough to understand.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

HeikeK
Registered: Nov 2 2009
Posts: 5
Hello radzmar,
thanks a lot. I will save the example for future use, up to now I am working with static pdf.

And I also understand your second description, thanks! Let us see what the costumer will say when I tell him how much work it would be ...

Best regards
Heike