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

Display a message when PDF Form is opened

corley
Registered: Oct 19 2007
Posts: 23
Answered

Hi,

I made a Form using LiveCycle Designer 8 and all is good (meaning reader user can fill it out, etc).

I'd like to make them more cautious by making appear a warning message when the user open the PDF form.

I guess this could be done in a Javascript mode.

Do anyone have an idea and have detailed steps for this (remember I'm using LiveCycle Designer !)

Thanks

lkassuba
ExpertTeam
Registered: Jun 28 2007
Posts: 3636
Check out this Javascript tip from Thom Parker at:
http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/popup_windows_part1/

Lori Kassuba is an AUC Expert and Community Manager for AcrobatUsers.com.

Formfingers
Registered: Feb 7 2007
Posts: 90
You're looking for an "app alert"...and here's what your script should read to display your message (copy the below, EXACTLY as shown):

app.alert("Place your message text here");

You'll want to place this script in the docReady event of any fill field, language set to javascript. Obviously, replace the text between the quotes with whatever message you like. Preview PDF and it should work. Good luck!