close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Downloading PDFs using DFP with results from DataAssist Search

Thread began 12/09/2010 6:05 pm by YellowCircleWeb | Last modified 12/10/2010 10:01 am by Jason Byrnes | 1159 views | 1 replies |


Downloading PDFs using DFP with results from DataAssist Search


I've created a search page to allow users to enter a product code and search for parts in a database. A results page is then generated listing each of the pages. The product code the user enters in the search form corresponds with the name of a PDF file which I have located in directory outside of the website root folder.

I'm trying to use Digital File Pro to allow the downloading of a the PDF file for the part code. I got it working on a development machine when I wasn't using DataAssist Search functionality.

However, on my DataAssist results page there is code that sets a session variable relating to the search page when the POST method is invoked, so whenever I click the download button on the results form (with the trigger for DFP set to 'current page submit') the search code is executed, rather than the download code and every single record is returned because I've not entered any search term.

I've looked at this post by Jason showpost.php?p=19527&postcount=11 and that's what helped me to get it working without using DataAssist, but in the actual website I need DataAssist search functionality in order to find the part codes. (hope all that made sense).

I've attached a copy of all of the pages involved in this. How can I get the DFP download functionality to work rather than the DA search functionality?

Attached Files
Sign in to reply to this post

Jason ByrnesWebAssist

you have to be creative with the triggers.

since the search only uses one form element, set the to trigger on that form element.

On the results page, go to the binding panel and click the plus button, select Form Data.

In the form data wizard click the folder icon an select the search page.

this will create a binding group for the form from the search page on the results page.

Now in the data assist search wizard, click the lightning bolt next to the trigger selection and select the S_BomReference form element from the search page.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...