I need a contact us box for my website contact us page
Requirments:
Name:
E-mail:
Mobile-no:
Contact to: (here I want a box like see above font one) Arial
Black Arial
Message:
Reset form | Submit
Can someone help me???
I need a contact us box for my website contact us page
Requirments:
Name:
E-mail:
Mobile-no:
Contact to: (here I want a box like see above font one) Arial
Black Arial
Message:
Reset form | Submit
Can someone help me???
Err, I think you use HTML for this
Go read a HTML tutorial. Or, in Dreamweaver, you can use the form tools.
//Darn it, can't link to w3schools.com 'cause it's closed.
For sending the data, You need to use a server-side language to do this, like PHP. Here's a good tutorial to start off with.
Peter - alotofstuffhere[dot]com - Email Me - Donate via PayPal - Got spare hardware? Donate 'em to me :) Just send me a PM.
Currently: enjoying the early holidays :)Read before posting: FAQ | What you CAN'T do with JavaScript | Form Rules | Thread Title Naming Guide
You cant use html?
Here is where I am at (in the same boat)
http://www.nickschale.us/LU2/contact.html
got the form built how i want, just need to figure out how the post action works
Thanks for any help!!!
What they do is use iframe. becuase unless they have the form in html but post it to another php page, if you can use php then here you go....
This is the contact.html or php page....
And this is the processing page....HTML Code:<center> <form method="post" action="../contact/mailme.php"> <table border="1" width="400" height="41" style="border-collapse: collapse" bordercolor="#000000"> <tr> <td height="4" width="95"> <b>Your Email:</b> </td> <td height="4" width="342"> <input type="text" name="email" size="45"></td> </tr> <tr> <td height="27" width="95"> <b>Your Website:</b></td> <td height="27" width="342"> <input type="text" name="subject" size="45"></td> </tr> <tr> <td height="20" width="95"><b>Message:</b></td> <td height="20" width="342"> <textarea name="message" cols="34" rows="3">Message here...</TEXTAREA></td> </tr> </table> <p> <input type="submit" name="submit" value="Submit"> <input type="reset" name="reset" value="Reset"></p> </form> <p> </p> </center>
PHP Code:<?
$to = "YOU@YOURSITE.COM";
if($submit)
{
mail("$to", "$subject", "$email", "$message");
} else {
echo "There was an error please try again at a later time.";
}
?>
<?php
//This is to redirect them to a thankyou page or whatever!
header( 'Location: htt://www.yourpage.com/thankyou.html' ) ;
?>
Hey new design new look, goto xudas for personal webdsign help..(:
Making a form is not I want I want the script of if someone click the submit button after filling the form and everything the information will come into my email! I can make the form from dreamweaver but how to make the 'submit' button work need help in that regard.
i dunno if that is possibble, you could simply put those two page together but i dont think that ispossible, you might have to have ur own server..
Hey new design new look, goto xudas for personal webdsign help..(:
If you really want to do this go ahead... you just need to replace this line:
withCode:<form>
Its not secure at all and requires your user to have some type of mail program like outlook... But it works... I recommend using php to do this... but since you said you can't then... thats ok...Code:<form action="MAILTO:Youremail@domain.com" method="post" enctype="plain/text">
Bookmarks