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

Do we have dialog box or pop ups or data grid to diplay the data ?

surekha
Registered: Feb 5 2009
Posts: 21

Hi all,
I am having an application in that I want to display a dialog box or data grid or pop up.
Which loads the values from the database.
From that pop up I want to select a record .

Even I don't know is it possible to have a pop up.
Its an urgent requirement please reply me.

Thanks & Regards,
Surekha.

My Product Information:
LiveCycle Designer, Windows
surekha
Registered: Feb 5 2009
Posts: 21
Hi,
Can any one please help me?
I am having serious requirement on that.

I will be very appriciatiable for any one's help.


Thanks,
Surekha.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Unless you have a LiveCycle Server setup that supports Form Guides, you can't create a popup that displays a data grid, or anything like it. Or at least not easily. In Acrobat JavaScript it is possible to dynamically build a popup dialog box that you could make look like a data grid. But I don't think this would be very efficient.

A better strategy is to write JavaScript code that walks the rows in the DB and displays the row data in repeated subforms on the LiveCycle form itself. You could put the whole thing in a subform that's colaspable. This is kind of like a popup.

You can find sample code for walking the rows in a DB in the initialize script for the "Data Drop-Down" component on the "Custom" library tab.

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]

Then most important JavaScript Development tool in Acrobat
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window[/b][/url]

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

surekha
Registered: Feb 5 2009
Posts: 21
Thanks Parker for your quicker reply.

I don't know where is the custom library tab & didn't find the sample code.
Please let me know the path where it is exactly.


Regards,
Surekha.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
There are several video tutorials (eSeminars) on using LiveCycle designer on this site.

This one is my favorite:
https://admin.adobe.acrobat.com/_a200985228/p87746471/

You'll find all your answers by watching the videos

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]

Then most important JavaScript Development tool in Acrobat
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window[/b][/url]

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