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

Form problem

Dan_M
Registered: Nov 24 2008
Posts: 5

I have a form that was created in Designer 7.0. The PTB wanted the background image to disappear preprint and reappear postprint, which I have done, but in doing so I had to place the image in an image field. Now when the end-user clicks outside of the text fields, they get a dialog box asking them to select an image file.
Any idea on how to disable this function while still maintaining the other dynamic properties (text fields, print form button).

Thanks for any help.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You can use a regular "image" element and set it's "presence" (on the Object > Draw tab) to "Visible(Screen Only)". If this strategy is giving you problems then try wrapping it in a subform and setting the subform's presence to "Visible(Screen Only)".Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
You can also put a square over the image field without borders and fill color.

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

Dan_M
Registered: Nov 24 2008
Posts: 5
thomp wrote:
You can use a regular "image" element and set it's "presence" (on the Object > Draw tab) to "Visible(Screen Only)". If this strategy is giving you problems then try wrapping it in a subform and setting the subform's presence to "Visible(Screen Only)".Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]
The only Presence options available are "Visible", "Invisible", and "Hidden (Exclude from Layout)"
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Hmm, after going back and looking at LC 7 I see what you mean, there isn't an option for (Screen Only). However, it works in Acrobat 7 exactly the same as it works in Acrobat 8. The print only/screen only options are controled with an attribute to the tag.Do this:
1. Select the image
2. open up the XML Source view
3. Add this attribute to the tagrelevant="-print"

That should fix it up.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script