View Full Version : VB.net
midnightride42
06-02-2008, 10:06 PM
I know a lot of you on this board know their coding. I was hoping someone on here would share their code for doing a "Contact Us" page.
We are doing a web page for class and have everything done except that page. We basically only have tonight and some of tomorrow left to finish it. Even though the page is not required we really would like the page to be there and function properly.
We are just looking for a basic page:
---------------------------------------------------
Your Name:
Subject:
Way to contact you:
Please type you message below in the field provided:
Submit (button)
----------------------------------------------------
something of that sort. Basically when they hit the submit button it will send it to our specified email address.
None of us in our group have done much coding, I know for some of you this is probably a piece of cake.
We would greatly appreciate it.
SinisterAgent
06-04-2008, 12:48 PM
<FORM action="mailto:you@yourdomain.com">
Name: <INPUT name="Name" value="" size="10"><BR>
Email: <INPUT name="Email" value="" size="10"><BR>
<CENTER><INPUT type="submit"></CENTER>
</FORM>
Just put your email address in the specified spot.
<A HREF="http://www.yourdomain.com/">Visit Our Site</A>
This is just a linky to your site.
Here is a nice quickie web page. Kinda gay but... :fruity
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<!-- <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>
VB.net</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="robots" content="noarchive">
<meta name="keywords" CONTENT="Meta keywords go here ">
<meta name="description" CONTENT="25-30 word meta description ">
<style type="text/css">
body { background-image: url("http://www.ibdjohn.com/htmlgenerator/backimage.jpg"); background-color:ivory; font-family:Verdana; font-size:18px; color:darkblue; } a:hover {color:darkblue; background-color:pink}; </style>
</head>
<body>
<p align="center">
<img src="http://www.ibdjohn.com/images/banner.gif">
<br />
[<a href="index.php">
Example</a>
] [<a href="index.php">
Links</a>
] [<a href="index.php">
Here</a>
] </p>
<h1 align="center">
Page Heading (H1)</h1>
<p>
This test paragraph was inserted along with a test image (if URL for an image was entered). Then it's just blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah </p>
<p align="center">
<img src="http://www.ibdhost.com/demo/gallery/albums/jobs/purple.jpg">
<br />
[<a href="index.php">
These</a>
] [<a href="index.php">
Are</a>
] [<a href="index.php">
Fake</a>
] [<a href="index.php">
Links</a>
] [<a href="index.php">
That Show</a>
] [<a href="index.php">
Link Code</a>
] </p>
</body>
</html>
dewman0012
06-04-2008, 09:23 PM
Do you need this done in a specific code?
HTML
ASP
PHP
If you do a search on Google, there are plenty of "Contact Us" scripts out their to build it automatically for you. If that doesn't help, let me know what you need and I can code it.
midnightride42
06-05-2008, 07:49 AM
looks like we got some more tome. So ill try and get this page done eith your help. All of our pages are in vb.net...asp pages. I found pages on google that handle email...but the email has to be put in. we want it so that our email addrress is not shown, but when you hit submit it sends it to us.
SinisterAgent
06-05-2008, 08:48 PM
looks like we got some more tome. So ill try and get this page done eith your help. All of our pages are in vb.net...asp pages. I found pages on google that handle email...but the email has to be put in. we want it so that our email addrress is not shown, but when you hit submit it sends it to us.
Then use the 1st code box provided.
<FORM action="mailto:you@yourdomain.com">
Name: <INPUT name="Name" value="" size="10"><BR>
Email: <INPUT name="Email" value="" size="10"><BR>
<CENTER><INPUT type="submit"></CENTER>
</FORM>
midnightride42
06-05-2008, 09:51 PM
No sure I know what you ment with your comment sinister.
vBulletin® v3.8.6, Copyright ©2000-2012, Jelsoft Enterprises Ltd.