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

New Window

pdickey
Registered: Feb 16 2010
Posts: 4

I have a web page that is a form that people can fill out on line and submit at the bottom and it is assigned to come back to an email address.

It has four links to other documents in it so the user can go and look at information and come back. The problem is I cannot get these links to open in a new window. Then when the link is opened and closed the information that had been entered in the form is gone. I have tried everything I can think of.

I can get it to work before I move it to the web site using Dreamweaver.

Any suggestions?

Thanks,
Pam

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

if you use a LiveCycle-PDF you can open other forms with the method "launchURL".
It has an optional parameter that, if it is set to "true", opens the linked URL in a new windows.

app.launchURL("http://www.example.com/", true);

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs

pdickey
Registered: Feb 16 2010
Posts: 4
Since I am not real familiar and do not have a book to bone up on this, where do you put this:

Code:
app.launchURL("http://www.example.com/", true);

Please remember, from the Lifecycle Designer 8 document it is saved into Dreamweaver and when it is pushed to the web site is when the links quit opening up in a new window.
radzmar
Expert
Registered: Nov 3 2008
Posts: 1202
Hmmm,

Generally you will have to create a button and put the script into its click:event.
I don't have experiences with Dreamweaver, so I can't say, if the the scripts you put into the LiveCycle-form will be exported into Dreamweaver.

But I found some information about creating links in Dreamweaver that opens in new windows.
[url]http://www.ehow.com/how_15715_insert-link-opens.php[/url]

radzmar
LoveCycle Blog
Documents you need:
LiveCycle Designer ES2 Docs