close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

download file in repeat region

Thread began 2/20/2014 5:35 pm by asarcona308398 | Last modified 2/21/2014 10:08 am by Jason Byrnes | 1049 views | 3 replies |

asarcona308398

download file in repeat region

Hey Guys,

I'm trying to add a download button link to a file in a repeat region listing page.
if I leave the DFP behavior in the <head> it works... but not using any of the instances from the recordset...only first or last
If I move the DFP behavior into the repeat region as Jason mentioned in post showpost.php?p=19527&postcount=11
the page will hang...

I've created the hidden file fields and listed them in DFP as the file-to-download and the file-to-be-named-as.... and they are populated correctly when viewed in firebug
Also, I have appended the ID from the recordset to the <form> name and id.... page will still hang

I just can't seem to locate the behavior in the right place to loop the records..

Thanks,
Tony

Attached Files
listall_recitals.zip
Sign in to reply to this post

Jason ByrnesWebAssist

The Download behavior should be in the head.


Currently, you have a form around the repeat region, that should be deleted, than add a form around the download button and hidden form element.

in the download behavior, set the down,load file to use the hidden form element.

Sign in to reply to this post

asarcona308398

Fixed...

Hey Jason....

Once again ---perfection!

I moved the original form generated by DA adding the rowset "id" into the repeat region as follows:

<form action="<?php echo (htmlentities($_SERVER["PHP_SELF"], ENT_QUOTES)); ?>" method="post" enctype="multipart/form-data" name="Results_Basic_Default<?php echo $row_WADAsg_recital_comp_desc['id']; ?>" id="Results_Basic_Default<?php echo $row_WADAsg_recital_comp_desc['id']; ?>">

WORKS!

Thanks
Tony

Sign in to reply to this post

Jason ByrnesWebAssist

Great, glad to hear it is working.

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

Content

rating

Layout

rating

Ease of use

rating

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...