Info before file download.

This is an open forum for any mojoPortal topics that don't fall into the other categories.

This thread is closed to new posts. You must sign in to post in the forums.
2/1/2013 2:23:22 PM
Gravatar
Total Posts 6

Info before file download.

Is there a way to have the user input some information before downloading a file? Let say I have a link for a pdf file and when the user click will ask them for like a name, address and other info.

2/4/2013 10:13:40 AM
Gravatar
Total Posts 1203
Proud member of the mojoPortal team

Help support mojoPortal!
Add-on modules

Re: Info before file download.

Your initial link could be to an intermediate page that asks for the info you want, and exposes a download link. However, this will not force them to enter anything--they can always go ahead and download.

If you need to ensure your information is entered, you'll need to either require them to register and include the information you want in the registration process, or develop a custom module that will not allow a download until information is entered. An extra complication is that if it's an accessible link, everything could be bypassed by anyone who knows the physical location of the file in your system. To protect that, you'd need to use something like the File Manager module, which stores files in a way that they can't be accessed except by authorized users.

You must sign in to post in the forums. This thread is closed to new posts.