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

Opening and closing

sdbrenner
Registered: Dec 4 2009
Posts: 9
Answered

[b]Question 1:[/b]
I am trying to create a button in my form that will open another form file in a series. The file name and location will be known.

I want to let the user push the button, and a file will open based on a value that's entered in a text field. I would prefer to do this without using folder level scripts, but if I need to use them, that is a possibility.

Also, I know next to nothing about scripting, so simple answers would be appreciated.

[b]Question 2:[/b]
I have a close button in my form that uses

Quote:

[b]app.execMenuItem("Close");[/b]

It works fine, but when I close the file, it asks whether or not I want to save. I would prefer for that prompt to not come up. Is that possible/difficult to do?

This is something that I'm not as worried about.

My Product Information:
LiveCycle Designer, Windows
sdbrenner
Registered: Dec 4 2009
Posts: 9
[b]Question 1:[/b]
Quote:
[b]app.openDoc ([i][/b]file path here[b][/i]);
[/b]
File path is generated using text fields

[b]Question 2:[/b]
I still haven't solved this question. If anyone can give me any further details, I'd appreciate it.