PDA

View Full Version : Download File on form submit event



mandarsk
11-18-2004, 01:49 AM
I want to start download of a file on form submit event of my form.

simonf
11-18-2004, 06:37 AM
Hi

Normal is e-mailing a file to a contact would be:

<FORM NAME=test METHOD=post ACTION=http://www.serviceprovider.com/pubscripts/formmail.asp>
<INPUT TYPE=hidden NAME=MailTo VALUE=mailbox@company.com>
<INPUT TYPE=hidden NAME=Subject VALUE='Website Information Request'>
<INPUT TYPE=hidden NAME=ReturnURL VALUE=http://www.company.co.za/folder/filename.zip etc or just a thanks.htm page with a link to the file>

rgds,Simonf :D