Advertisement

09.01.2008 at 04:41AM PDT, ID: 23693478 | Points: 500
[x]
Attachment Details

need to make my form work with asp

Asked by jonsmithgraphics in Perl Programming Language, Active Server Pages (ASP)

Tags:

hi,
i have a form which i made for a client using perl. they have now turned around and said it can only be done with asp on their servers. I've never used asp before and need to learn pretty fast to get this working today if possible!

below is my page code for the perl version which uses a FormMail.pl script

it is currently hidden on back of my employers site.

http://www.home-bm.co.uk/Assist/group/assist_academy_enquiries.html

any help MUCH appreciated to get me out of this!!!!!!!!!!!

cheers

jonStart Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Assist Academy Enquiries Page</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="AssistAcademy.css" rel="stylesheet" type="text/css">
<script src="global-assets/js/form_validation.js" type="text/javascript" language="JavaScript"></script>
<script language="JavaScript" type="text/javascript">
         <!--
         // Form validation. Shades the invalid fields within the question.
function check_send(theForm)
{
   gotowhich = ""; // Reset variable
   var element_good = returnGood(); // Copy variable from included validation functions
 
   // ENABLE THIS TO REMOVE VALIDATION
   //theForm.submit();
   //return;
 
 
   textbox_OK(document.getElementById('name'), document.getElementById('name'), element_good);
   textbox_OK(document.getElementById('tel_no'), document.getElementById('tel_no'), element_good);
   textbox_OK(document.getElementById('email'), document.getElementById('email'), element_good);
 
   // == Send focus to appropriate element ==============================
   if ( gotowhich != "" ) {
      gotowhich.focus(); // Go to the first incorrect field
      // window.scrollBy(0, -50); // Then scroll a bit above it.  (Disabled for short form)
      alert('Please check the fields marked and try again.');
      return false;
   } else
   { // Submit form
      return true;
   }
} // End check_send();
 
//-->
 
</script>
</head>
 
<body>
 
 
<div id="page">
 
<div id="logo"><a href="assist_academy_home.html"><img src="Group-pics/bits/assistacademylogo.gif" title="click to go back to Academy home page" alt="Assist Academy logo" border="0"></a></div>
 
 
<div id="login"></div>
 
 
 
<div id="contact"><a title="click for Contact Us page" href="find_assist_academy.html">Contact Us</a></div>
 
<div class="Nav">
<ul>
   
<li><a title="click for Course Lists" href="assist_academy_courses.html">Course Lists</a></li>     
<li><span><strong>Online Enquiries</strong></span></li>
<li><a title="click for Case Studies/Testimonials" href="assist_academy_testimonials.html">Case Studies/Testimonials</a></li>     
<li><a title="click for Book A Course" href="assist_academy_book.html">Book A Course</a></li>  
<li><a title="click for Find Us page" href="find_assist_academy.html">Find Us</a></li>    
    
 
</ul>
</div>
 
 
<div class="leftmenu">
 
<ul>
 
<li><a href="index.html">Group</a></li>
<li><a href="assist_recruitment_home.html">Recruitment</a></li>
<li><a href="assist_streetcare_home.html">Streetcare</a></li>
</ul>
 
<div id="subnav"><div class="subnavpad"><a href="index.html">Home</a> | <a href="assist_site_map.html">Site Map</a></div></div>
 
</div>
 
<div id="leftcontent">
  <p><img class="title" alt="We welcome your feedback Please get in Touch!" src="Group-pics/bits/title-academyenquiry.gif">
 
 
  <p>If you have any comments or enquiries, please feel free to get in touch by completing the form below.
<!-- form -->
<form name="my_form" method="post" action="/Assist/Form.pl" onsubmit="return check_send(this);" >
<input type="hidden" name="recipient" value="jonsmithgraphics@hotmail.com">
<input type="hidden" name="subject" value="ACADEMY web enquiry">
<input type="hidden" name="redirect" value="http://www.home-bm.co.uk/Assist/group/thanks-academy.html">
<input type="hidden" name="mail_template" value="contact.tpl.txt" />
 
<!-- Left Column -->
 
 
<div id="formCol">
 
<label for="name">Name:</label>
<input name="name" type="text" id="name" tabindex="1" />
 
<label for="organisation">Organisation:</label>
<input name="course" type="text" class="textField" id="organisation" tabindex="2" />
 
<label for="email">Email Address:</label>
<input name="email" type="text" class="textField" id="email" tabindex="3" />
 
<label for="tel_no">Contact Telephone Number:</label>
<input name="tel_no" type="text" class="textField" id="tel_no" tabindex="4" />
 
 
<label for="enquiry">Enquiry/Comments:</label>
<textarea name="enquiry" rows="8" class="textField" id="enquiry" tabindex="5"></textarea>
 
 
 
 
 
<div id="RadioButtons">
<div class="radioLeft">
<div class="Radio">
<label for="keepUpToDate">Please add me to the Assist mailing list. Yes</label>
<div class="RadioButton"><input tabindex="6" name="keepUpToDate" type="radio" id="keepUpToDate" value="Yes" checked="checked"  /></div>
</div>
</div>
 
<div class="radioRight">
<div class="Radio">
<label for="keepUpToDate">No</label>
<div class="RadioButton"><input tabindex="7" name="keepUpToDate" type="radio" id="keepUpToDate" value="No" /></div>
</div>
 
</div>
</div></div>
<input name="submit" type="image" id="sendButton" tabindex="8" value="Submit" src="Group-pics/bits/submit.gif" width="75" height="20"/>
 
 
 
 
 
 
<!--  -->
</form>
</p>
<div id="numbers">
<p class="purple">tel: <span>0845 600 8376</span> <p class="purple">fax: <span>0151 524 3083</span>
</div>
 
</div>
<div id="rightcontent">
 
 
 
<img width="379" height="379" class="toppic" src="Group-pics/academy-online-enquiries.jpg" alt="picking up litter">
 
 
 
 
 
 
 
 
</div>
 
 
 
</div>
</body>
</html>
[+][-]09.01.2008 at 07:07AM PDT, ID: 22360441

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.01.2008 at 07:37AM PDT, ID: 22360730

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09.02.2008 at 03:05PM PDT, ID: 22372187

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09.02.2008 at 03:10PM PDT, ID: 22372217

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628