Hi,
I'd like users to register before downloading any of our documents. If they have already filled in the form, then all the fields are hidden other than their email. Everything works OK, other than directing them to the download. We have Hubspot (Marketing Software) which allows me to make the forms and export the code, however they have recently changed from HTML to JavaScript. I need to pass over which document the user is trying to download. I did this with the old HTML form by using a variable.
e.g. (Old example)
manual.pdf -> Form -> manual.pdf download starts
setup.exe -> Form -> setup.exe
hubspot button hyperlink=Code:$var=$INFO{'request'};However the new Hubspot code is:Code:www.ourwebsite.com/downloads/$var
As you can see, it does not declare the hyper link of the submit button. So my previous method doesn't work.Code:<script charset="utf-8" src="http://js.hubspot.com/forms/current.js"></script> <script> hbspt.forms.create({ portalId: 'OurID', formId: 'OurFormID' }); </script>
Any help would be greatly appreciated.


Reply With Quote
Bookmarks