Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - ASP Form Help!
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

ASP Form Help!

 Post Reply Post Reply
Author
Geekygirl View Drop Down
Newbie
Newbie


Joined: 24 September 2009
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Geekygirl Quote  Post ReplyReply Direct Link To This Post Topic: ASP Form Help!
    Posted: 24 September 2009 at 1:13pm
Hi Everyone,
I was put in charge for designing a new website for our business and I'm having trouble with the web form. The aim is for the users to input all the data and for it to automatically edit/format the information before emailing it to our business email.

Now I have completed the first part, i have made the form and used a .asp page to automatically place the data where it is meant to go etc but I don't know how to make that data then send to a email. Below is the script I'm using, if anyone could help I'd appreciate it so much.

Form page:

<html>
<body>


<form action="test2.asp" method="post">

<b>Suburb</b>
<<input type="text" name="suburb" value="<%=suburb%>" /> <br />

<b>Date Available</b>
<input type="text" name="avail" value="<%=avail%>" /> <br/>

<input type="submit" value="Submit" />
</form>
<hr>

</body>
</html>
--------------------------
and the .asp page is
--------------------------

<%
If Request.Form<>"" Then
      If Request.Form("name")<>", " Then
           suburb=Request.Form("suburb")
           avail=Request.Form("avail")
       rent=Request.Form("rent")
      end if
end if
%>

<%
If Request.Form<>"" Then
 
      Response.Write("avail " & Request.QueryString("avail"))
Response.Write(", ")

      Response.Write("" & suburb)
Response.Write(", ")

      Response.Write("$" & rent)

end if
%>

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.