Overclock.net - Overclocking.net
     
 
Home Gallery Reviews Blogs Register Today's Posts Mark Forums Read Members List


Go Back   Overclock.net - Overclocking.net > Software, Programming and Coding > Coding and Programming

Reply
 
LinkBack Thread Tools
Old 07-08-08   #1 (permalink)
Intel Overclocker
 
karan.t's Avatar
 
intel ati

Join Date: Sep 2007
Location: London
Posts: 1,091

Rep: 57 karan.t is acknowledged by some
Unique Rep: 46
Trader Rating: 0
Default [HTML] How to Make a Form on a website

I made this using freewebs.com
when it is filled out and submitted it will send me an email with the info
limit is 25 submission per month on the free service

i now have my own server anyone know how i can do this?


System: Deepthought
CPU
Intel Core 2 Quad Q6600 (OC-3GHz)
Motherboard
Asus P5K Premium
Memory
OCZ 4GB CrossFire Certified / Dual Ch. DDR2 PC6400
Graphics Card
Sapphire ATi Radeon HD3870 512MB
Hard Drive
2 x Barracuda 7200.9 SATA 500-GB Hard Drive
Sound Card
Trust SC-5200 5.1 Surround Sound Card
Power Supply
Thermaltake Toughpower W0103 600-Watt ATX 12V 2.2
Case
Antec Performance One P182
CPU cooling
Thermalright Ultra 120 Extreme + Silverstone FM122
GPU cooling
Stock @ 70%
OS
Windows XP PRO SP3 32bit
Monitor
Hannstar HW191D [19" LCD]
karan.t is offline karan.t's Gallery   Reply With Quote
Old 07-08-08   #2 (permalink)
Using more Linux everyday
 
BiG O's Avatar
 
intel nvidia

Join Date: Jul 2007
Location: University of Virginia
Posts: 1,510

Rep: 167 BiG O is acknowledged by manyBiG O is acknowledged by many
Unique Rep: 134
Trader Rating: 2
Default

Why don't you just view the source code, and copy and paste it to your own website?

System: My System
CPU
Q6700
Motherboard
Blood Iron
Memory
8GB Crucial Ballistix DDR2-800 (4x2GB)
Graphics Card
BFG 8800GTS 512MB g92
Hard Drive
2X 500GB Seagate Barracuda 7,200 RPM SATA RAID 0
Sound Card
Razer Barracuda AC-1 7.1Gaming Soundcard
Power Supply
ABS 700W Modular
Case
Antec 900
CPU cooling
Tuniq Tower 120
GPU cooling
Stock
OS
Vista Ultimate x64 SP, openSUSE 11.0, Xubuntu 8.04
Monitor
Hanns-G 28" & Dell Ultrasharp 19" widescreen
BiG O is offline Overclocked Account   Reply With Quote
Old 07-08-08   #3 (permalink)
IT Nut
 
trueg50's Avatar
 
intel nvidia

Join Date: Jun 2007
Location: Waterbury Vermont
Posts: 4,545

Rep: 358 trueg50 is a proven membertrueg50 is a proven membertrueg50 is a proven membertrueg50 is a proven member
Unique Rep: 274
Trader Rating: 13
Default

It looks extremely basic, and easy.

Any free HTML site will have the syntax for any of those text box's, check box's, and added stuff to have it e-mail the info to you.

System: Tygon Tornado
CPU
Q6700 3.8 @ 1.5vcore (L727A754)
Motherboard
Maximus Formula w/ Rampage Bios 0403
Memory
OCZ ReaperX (2x 2gb) 1,100 mhz 5-5-5-16 2.2v
Graphics Card
BFG 9600GT OC
Hard Drive
2x 320 gig 10.7200s (RAID 0) 1x 90gig maxtor
Sound Card
X-Fi Xtrememusic
Power Supply
BFG 800 watt
Case
TT Armor
CPU cooling
Apogee, Black Ice Pro 3
GPU cooling
stock @ 80% fan speed
OS
Vista Ultimate 64 bit edition
Monitor
Acer 20" 1680x1050
trueg50 is offline Overclocked Account   Reply With Quote
Old 07-08-08   #4 (permalink)
Intel Overclocker
 
karan.t's Avatar
 
intel ati

Join Date: Sep 2007
Location: London
Posts: 1,091

Rep: 57 karan.t is acknowledged by some
Unique Rep: 46
Trader Rating: 0
Default

if i copy the source and paste it, it will still send my the info through freewebs.com

Quote:
Originally Posted by trueg50 View Post
It looks extremely basic, and easy.

Any free HTML site will have the syntax for any of those text box's, check box's, and added stuff to have it e-mail the info to you.
i am sorry but i am a total noob at HTML, this is the first time i am making a site using Microsoft Expression Web 2 (New Frontpage)
could u plz tell me how to do this

System: Deepthought
CPU
Intel Core 2 Quad Q6600 (OC-3GHz)
Motherboard
Asus P5K Premium
Memory
OCZ 4GB CrossFire Certified / Dual Ch. DDR2 PC6400
Graphics Card
Sapphire ATi Radeon HD3870 512MB
Hard Drive
2 x Barracuda 7200.9 SATA 500-GB Hard Drive
Sound Card
Trust SC-5200 5.1 Surround Sound Card
Power Supply
Thermaltake Toughpower W0103 600-Watt ATX 12V 2.2
Case
Antec Performance One P182
CPU cooling
Thermalright Ultra 120 Extreme + Silverstone FM122
GPU cooling
Stock @ 70%
OS
Windows XP PRO SP3 32bit
Monitor
Hannstar HW191D [19" LCD]
karan.t is offline karan.t's Gallery   Reply With Quote
Old 07-08-08   #5 (permalink)
New to Overclock.net
 
Hersha's Avatar
 
intel nvidia

Join Date: May 2008
Posts: 129

Rep: 18 Hersha Unknown
Unique Rep: 13
Trader Rating: 0
Default

The form it's self is very easy to replicate but the emailing part is a little trickier. To do it properly you need some sort of server side scripting like PHP, RoR, or ASP. This is much more advanced stuff. First is your website hosted from a webhosting provider or in-house. Pretty much all providers will have PHP running on them already. If its in-house then you may need to install one of them on your own. In which case let us know what kind of web server you are running and we can help ease the process.
__________________
System: My Baby
CPU
Q6600 G0
Motherboard
EVGA 680i 122-CK-NF68-A1
Memory
2x2GB Corsair Dominator 1066 CM2X2048-8C500C5D
Graphics Card
EVGA GeForce 8800 GTS 640MB SLI
Hard Drive
WD SATA 1.5Gbps Raptor 74GB
Sound Card
Soundblader XFI Platinum Fatal1ty
Power Supply
Silverstone Strider 750W
Case
Lian Li Something or other
CPU cooling
Stock
GPU cooling
Stock
OS
XP SP3
Monitor
Dell 2407WFP
Hersha is offline   Reply With Quote
Old 07-09-08   #6 (permalink)
PC Gamer
 
magus.tsf's Avatar
 
amd ati

Join Date: Mar 2008
Location: Deepest Wales
Posts: 150

Rep: 22 magus.tsf is acknowledged by some
Unique Rep: 19
Trader Rating: 0
Default

Quote:
Originally Posted by Hersha View Post
The form it's self is very easy to replicate but the emailing part is a little trickier. To do it properly you need some sort of server side scripting like PHP, RoR, or ASP. This is much more advanced stuff. First is your website hosted from a webhosting provider or in-house. Pretty much all providers will have PHP running on them already. If its in-house then you may need to install one of them on your own. In which case let us know what kind of web server you are running and we can help ease the process.
That could all be done in java, so you don't need asp, php or ror. This is a very basic mailto form which many sites will generate for you.

Try Here
__________________

The Black Mesa Survivors Club


Aoccdrnig to a rscheearch at an Elingsh uinervtisy, it deosn't mttaer in waht oredr the ltteers in a wrod are, the olny iprmoetnt tihng is taht frist and lsat ltteer is at the rghit pclae. The rset can be a toatl mses and you can sitll raed it wouthit porbelm. Tihs is bcuseae we do not raed ervey lteter by itslef but the wrod as a wlohe.

System: My System
CPU
Phenom 9600 BE
Motherboard
Asus M3A32-MVP Deluxe
Memory
4 GB DDR2 800 OCZ HTC Reaper
Graphics Card
Watercooled Saphire 1GB 3870 X2
Hard Drive
2 x WD 500GB SATA 2
Sound Card
Onboard 8.1 channel
Power Supply
Zalman 850 Watt Heatpipe cooled
Case
Gigabyte Mercury 3D
CPU cooling
Water
GPU cooling
EK Full Cover Waterblock
OS
Vista Ultimate
Monitor
32" HD TFT on HDMI
magus.tsf is offline   Reply With Quote
Old 07-09-08   #7 (permalink)
Folding Fanatic
 
purdueman's Avatar
 
intel nvidia

Join Date: Mar 2006
Location: B-Town, MI
Posts: 707

Rep: 88 purdueman is acknowledged by some
Unique Rep: 77
Folding Team Rank: 81
Trader Rating: 3
Default

Quote:
Originally Posted by magus.tsf View Post
That could all be done in java, so you don't need asp, php or ror. This is a very basic mailto form which many sites will generate for you.

Try Here
Thanks for the link I was looking for one too!

System: Mr. Toast
CPU
E6750 @ 3.6ghz
Motherboard
Gigabyte P35 DS3R
Memory
4x1gb Corsair XMS2 @ 900mhz 4,4,4,14
Graphics Card
eVGA 8800GT 729/999/1822
Hard Drive
640gb Westen Digital
Sound Card
Xtreme Music
Power Supply
OCZ GameXStream 600W
Case
Antec P182
CPU cooling
Tuniq Tower 120
OS
Windows Vista Premium 64bit + Ubuntu 8.04
Monitor
Samsung 206bw + Samsung 997DF
purdueman is offline I fold for Overclock.net   Reply With Quote
Old 07-09-08   #8 (permalink)
Intel Overclocker
 
karan.t's Avatar
 
intel ati

Join Date: Sep 2007
Location: London
Posts: 1,091

Rep: 57 karan.t is acknowledged by some
Unique Rep: 46
Trader Rating: 0
Default

wow cool repped

but still i cant get them to submit this form (see below)

this submit button i is a mailto only (see below)


FORM
Quote:
*Name</label> <input class="fw-textarea" type = "input" id="01 - Name" name = "01 - Name" value = "" size=20></span><SCRIPT type="text/javascript">reqArr[reqArr.length] = "01 - Name"</SCRIPT><!-- ParagraphEnd 222780809 --><!-- ParagraphStart 222785503 --><span class="formSpan"><label for="02 - Email or/and Telephone Number"><br />
<br />
*Email or/and Telephone Number</label> <input class="fw-textarea" type = "input" id="02 - Email or/and Telephone Number" name = "02 - Email or/and Telephone Number" value = "" size=60></span><SCRIPT type="text/javascript">reqArr[reqArr.length] = "02 - Email or/and Telephone Number"</SCRIPT><!-- ParagraphEnd 222785503 --><!-- ParagraphStart 222781547 --><span class="formSpan"><label for="03 - Location of the PC (AREA)"><br />
<br />
*Location of the PC (AREA)</label> <input class="fw-textarea" type = "input" id="03 - Location of the PC (AREA)" name = "03 - Location of the PC (AREA)" value = "" size=20></span><SCRIPT type="text/javascript">reqArr[reqArr.length] = "03 - Location of the PC (AREA)"</SCRIPT><!-- ParagraphEnd 222781547 --><!-- ParagraphStart 222782160 --><span class="formSpan"><label for="04 - PC"><br />
<br />
*PC</label> <select id="04 - PC" name="04 - PC"><option value="">-Select a choice-<option value="Desktop" selected>Desktop
<option value="Laptop" >Laptop
</select></span><SCRIPT type="text/javascript">reqArr[reqArr.length] = "04 - PC"</SCRIPT><!-- ParagraphEnd 222782160 --><!-- ParagraphStart 222782693 --><span class="formSpan"><label for="05 - Operating System"><br />
<br />
*Operating System</label> <select id="05 - Operating System" name="05 - Operating System"><option value="">-Select a choice-<option value="Windows XP" selected>Windows XP
<option value="Windows Vista" >Windows Vista
<option value="Don't Know" >Don't Know
</select></span><SCRIPT type="text/javascript">reqArr[reqArr.length] = "05 - Operating System"</SCRIPT><!-- ParagraphEnd 222782693 --><!-- ParagraphStart 222783829 --><span class="formSpan"><br />
<br />
*Service in Question<BR><input name="06 - Service in Question" type=checkbox value="PC Diagnosis &amp; Repair">PC Diagnosis & Repair<BR><input name="06 - Service in Question" type=checkbox value="PC Upgrade">PC Upgrade<BR><input name="06 - Service in Question" type=checkbox value="Hard | Soft Ware Install">Hard | Soft Ware Install<BR><input name="06 - Service in Question" type=checkbox value="Virus | Spyware Repair">Virus | Spyware Repair<BR><input name="06 - Service in Question" type=checkbox value="Networking (LAN|WLAN)">Networking (LAN|WLAN)<BR><input name="06 - Service in Question" type=checkbox value="Transferring Data">Transferring Data<BR><input name="06 - Service in Question" type=checkbox value="Remote Data Backup">Remote Data Backup<BR><input name="06 - Service in Question" type=checkbox value="Pre Built PC">Pre Built PC<BR><input name="06 - Service in Question" type=checkbox value="PC's Custom PC">PC's Custom PC<br />
<BR><input type="hidden" name="06 - Service in Question" value=""></span><SCRIPT type="text/javascript">reqArr[reqArr.length] = "06 - Service in Question"</SCRIPT><!-- ParagraphEnd 222783829 --><!-- ParagraphStart 222784595 --><span class="formSpan"><label for="07 - How Did You Find Us">*How Did You Find Us</label> <input class="fw-textarea" type = "input" id="07 - How Did You Find Us" name = "07 - How Did You Find Us" value = "" size=30></span><SCRIPT type="text/javascript">reqArr[reqArr.length] = "07 - How Did You Find Us"</SCRIPT><!-- ParagraphEnd 222784595 --><!-- ParagraphStart 222785058 --><span class="formSpan"><label for="08 - Any Specific Details of Your Enquiry"><br />
<br />
*Any Specific Details of Your Enquiry</label><BR><TEXTAREA id="08 - Any Specific Details of Your Enquiry" name="08 - Any Specific Details of Your Enquiry" rows="10" cols="50"></TEXTAREA></span><SCRIPT type="text/javascript">reqArr[reqArr.length] = "08 - Any Specific Details of Your Enquiry"</SCRIPT><!-- ParagraphEnd 222785058 --><!-- ParagraphStart 222786066 --><span class="formSpan"><br />

SUBMIT Button
Quote:
<form action="mailto:ithomecare@googlemail.com?subject=i t-homecare.com Enquiry" method="post" enctype="text/plain">
<table><tr><td>

</td></tr>
<tr><td align=center>
<INPUT TYPE="submit" value="Submit Enquiry" style="color: #ffffff; background-color: #000000">
</td></tr></table>
</FORM>

System: Deepthought
CPU
Intel Core 2 Quad Q6600 (OC-3GHz)
Motherboard
Asus P5K Premium
Memory
OCZ 4GB CrossFire Certified / Dual Ch. DDR2 PC6400
Graphics Card
Sapphire ATi Radeon HD3870 512MB
Hard Drive
2 x Barracuda 7200.9 SATA 500-GB Hard Drive
Sound Card
Trust SC-5200 5.1 Surround Sound Card
Power Supply
Thermaltake Toughpower W0103 600-Watt ATX 12V 2.2
Case
Antec Performance One P182
CPU cooling
Thermalright Ultra 120 Extreme + Silverstone FM122
GPU cooling
Stock @ 70%
OS
Windows XP PRO SP3 32bit
Monitor
Hannstar HW191D [19" LCD]
karan.t is offline karan.t's Gallery   Reply With Quote
Old 07-09-08   #9 (permalink)
HMS Tactical
 
t4ct1c47's Avatar
 
intel nvidia

Join Date: Dec 2005
Location: Staffordshire University
Posts: 3,990
Blog Entries: 4

FAQs Submitted: 2
Hardware Reviews: 4
Trader Rating: 3
Default

Could you copy and paste the entire page for me please? Instead of [ quote ] tags could you use [ code ] instead?

System: Difference Engine
CPU
Core2 Quad Q6600 @ 3.4Ghz
Motherboard
Asus P5N32-E SLi
Memory
4GB Corsair XMS2 PC6400
Graphics Card
GeForce GTX260 SLi
Hard Drive
320GB (x2) and 120GB (x2) SATA
Sound Card
Asus Xonar D2
Power Supply
Tagan 900W
Case
Thermaltake Shark
CPU cooling
Tuniq Tower 120
OS
Vista x64 Business
Monitor
Samsung 226BW 22" LCD
t4ct1c47 is offline Overclocked Account t4ct1c47's Gallery   Reply With Quote
Old 07-09-08   #10 (permalink)
PC Gamer
 
NessTheHero's Avatar
 
intel nvidia

Join Date: May 2008
Location: Pittsburgh
Posts: 324
Blog Entries: 2

Rep: 30 NessTheHero is acknowledged by some
Unique Rep: 28
Folding Team Rank: 188
Hardware Reviews: 1
Trader Rating: 0
Default

I can't see your image since I'm at work and I don't want to parse your spaghetti code, but I will help you understand forms a bit better so you can write your own.

A form is made up of a few tags in HTML. They can go anywhere in a page, but it is recommended to put one between <div> tags or <td> tags.

You start a form like so:

<form>

you can extend it with parameters. You want to mail the post data from the form to someone.

<form action="mailto:emailaddress" method="post">

enc/type isn't needed as it sends it as plain text anyway, unless you plan on using file attachments but that's beyond this brief tutorial.

Now, you make input boxes. Here are some example boxes:

<input type="text" size="10" /> Simple Text Box
<input type="password" maxlength="10" /> password box
<input type="checkbox" checked="checked" value="true" /> Checkbox
<input type="radio" name="group" value="value" disabled="disabled" /> Radio button. Keep the group name the same for multiple buttons to limit selection to one.
<input type="hidden" name="name" value="value" /> Hidden form element. Used in scripts for passing variables through forms.

You can also use <textarea name="name"></textarea>

You can set things with default values with value="" for a parameter, except textarea. You put the default text for that between the tags.

Submit buttons that process the form are as follows:

<input type="submit" value="Click me!!!" />
<input type="reset" value="Reset to default values" />

Then you end with </form>

Hope I helped!

http://www.w3schools.com/html/html_forms.asp

Use that site for more help.

E: one more thing I want to add.

mailto uses the user's mail client on their computer to send the e-mail. If they don't have a default mail client (most computers do but you never know) then the form won't work for them. If you want a form independant of mail clients, see if your server has PHP support. It's very simple to send a form using PHP, so if you have PHP on your server I'd be glad to help whip up a small script for sending an e-mail.
__________________
I have four words for you...
DEVELOPERS DEVELOPERS DEVELOPERS DEVELOPERS
Five thousand, two hundred, and eighty points per day


Next upgrades: 150 GB Raptor; 24" Monitor; 9800 GTX 4 SLI; Q6600; Auzentech Prelude;
* Waiting on Sandy Bridge *

System: Legendary Awesome
CPU
C2D E4600 2.88GHz OC'd 20% through BIOS
Motherboard
ASUS Striker Extreme
Memory
G.Skill DDR2 800 4GB
Graphics Card
XFX GeForce 9800 GTX(G92) 512MB
Hard Drive
160, 250, 1000
Sound Card
SoundMax HD Audio card
Power Supply
600W
Case
Antec Twelve Hundred
CPU cooling
Zalman Copper heatsink
GPU cooling
Stock
OS
Vista Home Premium x64
Monitor
Two 19 inch monitors

Last edited by NessTheHero : 07-09-08 at 03:03 PM.
NessTheHero is offline I fold for Overclock.net   Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools



All times are GMT -4. The time now is 09:56 AM.


Overclock.net is a Carbon Neutral Site Creative Commons License Internet Security By ControlScan

Terms of Service / Forum Rules | Privacy Policy | Advertising | Become an Official Vendor
Copyright © 2008 Shogun Interactive Development. Most rights reserved.
Page generated in 0.26045 seconds with 9 queries