Calling all VBScript-ers,
I am trying to use a formmail script to process a form on my website. I got the script from
http://www.brainjar.com/asp/formmail/default2.asp and I thought I had replaced the necessary variables to make it work. I uploaded the form "emailform.htm" to my site, made a folder named "scripts" and put the formmail.asp file there, but when I press the submit button in the form, I get the following:
Microsoft VBScript compilation error '800a0400'
Expected statement
/scripts/formmail.asp, line 15
\
^
{my browser reads: http://www.strykerart.com/scripts/formmail.asp}
I assume I have made a mistake with line 15, the form action part?
Here's the form code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
</head>
<body>
<p> </p>
<p> </p>
<div id="Layer1" style="position:absolute; left:70px; top:108px; width:548px; height:396px; z-index:1">
<p>If you would like to be informed about new art and exhibitions, receive our annual catalogue, or leave a message, email us using the form below. All information will be reserved for strykerart use only. </p>
<form action="/scripts/formmail.asp" method="post">
</p>
<input name="_recipients" type="hidden" value="sally@strykerart.com">
<input name="_redirect" type="hidden" value="thankyou.htm">
<input name="_replyToField" type="hidden" value="email">
<input name="_subject" type="hidden" value="site feedback">
<input name="_requiredFields" type="hidden" value="firstname, lastname, email">
<input name="_fieldOrder" type="hidden" value="firstname, lastname, city, state, zip, email, figure, water, florals, upcoming, message">
<input name="_envars" type="hidden" value="HTTP_REFERRER,
I have googled this error number, but have not found an answer yet. If anyone could help me with this, I would be so grateful! Thank you and I look forward to hearing from you.
Sincerely,
Sally