What you'll need:
FormBuilder
FormBrowser
I have provided the sample form for FB but the steps are basically..
1.)create FB form
2.)add the FormBrowser field
3.) add for too FormBrowser
3.) have the file link in the Submission Template
5.)Start collecting stats.. (granted you need to do the other normal FB/FBR steps and you should look at the form I provided)
working example...
http://www.visitnorthcentralidaho.org/testing.html
simple but you could do so much more with this... like password protect by forcing a use to be a FEU user... ie
Code: Select all
{assign var=userids value=$gCms->modules.FrontEndUsers.object->LoggedinId()}
{if $userids!=""}
{FormBuilder form='pdf test'}
{/if}
Now I'm using some js here (jQuery flav)
Code: Select all
if($('#DownloadThis').length > 0){
//alert($('#DownloadThis a').attr('href'));
window.open($('#DownloadThis a').attr('href'));
}
Cheers
jeremyBass