Hey people, I recently made a website, in the website, I need a contact us form. I require the following fields: Name: One Line field. E-Mail Address: One Line Field Subject: One Line Body: A large block where multiple lines can be added. Two buttons: Submit: relays directly to my e-mail ID Reset: Blanks all the fields. Can someone make this for me. Much appreciated Thanks in Advance
i have it i didn't create it by own but 1 website probiding it for free and the email will sent to your email id and when we submit the form you can choose your own page you want to show after submission if you want it then pm me its free. or visit my signature website you can find this form in contact us page of my website.
Thanks a lot for the replies. This isn't supposed, to be a paid job, as it is extremely easy to create. I am just facing a technical error. lol@insightInc. this job certainly doesn't deserve $20. Thanks a lot XTreMe. PMing you now, your site's form looks great
<body> <p><font face="Arial">Your name: </font> <font face="Arial" color="#ffffff"><input size="30" name="username"></font><font face="Arial"> </font></p> <p><font face="Arial">Email address: </font><font face="Arial" color="#ffffff"> <input size="30" name="useraddr"></font><font face="Arial"> </font></p> <p><font face="Arial">Subject:: </font> <font face="Arial" color="#ffffff"><input size="30" name="useraddr1"></font><font face="Arial"> </font></p> <p><font face="Arial">Please enter your comments here</font><br> <textarea name="comments" rows="5" cols="60"></textarea> <input type="hidden" value="i-pakistani( at )hotmail.com" name="emailto"> <input type="hidden" value="www.Funpk.net.tc" name="nextpage"> <input type="hidden" value="Thankyou your email has been Submited" name="subject"> </p> <p><input type="submit" value="Send"> <input type="reset" value="Clear form"> </p> </body> HTML: change http://www.funpk.net.tc with the page you want to show after submitting the form and change "Thankyou your email has been Sub" with the Subject with you want to recieve the message at your inbox and change i-pakistani( at )hotmail.com with your email
Thanks for The offer Xavier_3d. I just had a small customisation problem with comments box. +rep given XtreMe
The submit button does work but there is no form element nor any action so the browser is simply sending the entries back to you but you dont have anything set up to deal with the info. The code is terrible anyway, google is your friend, it will give you a contact form and more importantly the associated script/ code to handle the response. Without knowing if your server runs .Net/ ASP/ PHP etc it isnt possible to randomly give you the code to do it (and $20 is less than we would charge so wasnt a bad offer at all)
Yeah forms need something backend to actually do something. Value="send" doesn't actually mean anything. The above code uses old-fashioned styling which is actually limiting and there are no labels for the inputs, which is something people should use for clarity esp with screen readers (now, the order in above code will work fine in a screen reader but with labels you can always change the order like for instance with checkboxes or radio buttons and they will always belong together correctly). <form method="post" action="formpage.html"> <fieldset> <legend>Please Fill In Our Form</legend> <label for="name">Name:</label> <input type="text" name="name" id="name" size="30" (or whatever) value="" /> <label for="email">E-mail:</label> <input type="text" name="email" id="email" size="30" value="" /> <label for="subject">Subject:</label> <input type="text" name="subject" id="subject" size="50" value="" /> <label for="textbox">Comments:</label> <textarea name="comments" id="comments" cols="30" rows="7"></textarea> <input type="submit" class="bottombuttons" value="Send This Form" /> <input type="reset" class="bottombuttons" value="Reset The Form" /> </fieldset> </form> Code (markup): You then need code to actually have submit button actually send you the email. You can do the hidden button like Xtreme did but this depends on how your server runs... for instance his form wouldn't work on our machines because the site expects everything to have a php order in it.
What you need to do is pass the information in the HTML form to PHP script and let PHP email the answers from the form to you.
Or ASP or .Net or CFM or CGI or JSP or.... Why do some people think that PHP is the only server side scripting?
if you have not got a working solution yet and your site runs php then take a look at rrwh.com/scripts.php for a complete PHP form mail script that will suit your needs.
Jotform.com make your own contact form free.... save bandwidth. Best for site on free host without mail function requirement.