Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › [HTML] How to Make a Form on a website
New Posts  All Forums:Forum Nav:

[HTML] How to Make a Form on a website - Page 2

post #11 of 14
Thread Starter 
Quote:
Originally Posted by t4ct1c47 View Post
Could you copy and paste the entire page for me please? Instead of [ quote ] tags could you use [ code ] instead?
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>IT Home Care | </title>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<meta name="keywords" content="">
<meta name="description" content="">
<!-- master default -->
<link rel="stylesheet" type="text/css" href="http://images.freewebs.com/Members/Generationz/Standard/Naturalistic/industrial/style.css">

<!--[if lt IE 7]>
<script type="text/javascript" src="http://images.freewebs.com/JS/Scripts/ie6dropdownfix.js"></script>
<![endif]-->
</head>
<body class="hasOneColumn noSidebar">

<!-- PUT THIS TAG IN THE head SECTION -->
<script type="text/javascript" src="http://partner.googleadservices.com/gampad/google_service.js">
</script>
<script type="text/javascript">
  GS_googleAddAdSenseService("ca-pub-4763110844767107");
  GS_googleEnableAllServices();
</script>
<script type="text/javascript">
GA_googleAddAttr('cat', '00');
</script>
<script type="text/javascript">
  GA_googleAddSlot("ca-pub-4763110844767107", "user_728x90");
  GA_googleAddSlot("ca-pub-4763110844767107", "user_300x250");
</script>
<script type="text/javascript">
  GA_googleFetchAds();
</script>
<!-- END OF TAG FOR head SECTION --><script type="text/javascript" src="http://images.freewebs.com/JS/fw.js"></script><script type="text/javascript" src="http://images.freewebs.com/JS/Toolbar/toolbarLoader.js"></script><script type="text/javascript" src="http://images.freewebs.com/JS/Toolbar/fwToolbar.js"></script>
<div id="fw-advertisement">
<p>
<script type="text/javascript">
  GA_googleFillSlot("user_728x90");
</script>
</p>
</div>

<!--
{NavHeaderFormat}
<li class="fw-navheader">{NavHeader}</li>
{/NavHeaderFormat}



-->




<div id="fw-container">
<div id="fw-head">
<h1 id="fw-title"><a id="fw-titlelink" href="http://ithome.webs.com/">IT Home Care</a></h1>
<h2 id="fw-smalltitle"></h2>
<div id="logo-div" class="fw-logo"></div>
</div>


<div id="fw-blockContainer">
<div id="fw-mainnavwrap">
<div id="fw-nav-menu">
<ul>
<li><a class="section" href="http://ithome.webs.com/index.htm">Home</a></li>
<li><a class="section" href="http://ithome.webs.com/ourservices.htm">Our Services</a></li>
<li><a class="section" href="http://ithome.webs.com/pcdiagnosisrepair.htm">PC Diagnosis & Repair</a></li>
<li><a class="section" href="http://ithome.webs.com/pcupgrade.htm">PC Upgrade</a></li>
<li><a class="section" href="http://ithome.webs.com/hardsoftwareinstall.htm">Hard | Soft Ware Install</a></li>
<li><a class="section" href="http://ithome.webs.com/virusspywarerepair.htm">Virus | Spyware Repair</a></li>
<li><a class="section" href="http://ithome.webs.com/networkinglanwlan.htm">Networking (LAN|WLAN)</a></li>
<li><a class="section" href="http://ithome.webs.com/transferringdata.htm">Transferring Data</a></li>
<li><a class="section" href="http://ithome.webs.com/remotedatabackup.htm">Remote Data Backup</a></li>
<li><a class="section" href="http://ithome.webs.com/prebuiltpcs.htm">Pre Built PC's</a></li>
<li><a class="section" href="http://ithome.webs.com/custompc.htm">Custom PC</a></li>
<li><a class="section" href="http://ithome.webs.com/getaquote.htm">Get a Quote</a></li>
<li><a class="section" href="http://ithome.webs.com/contactus.htm">Contact Us</a></li>


</ul>
</div>
</div>

<div id="fw-bigcontain">


<div id="fw-columnContainer">
<div id="fw-mainColumn">
<SCRIPT type=text/javascript src="http://images.freewebs.com/JS/formUtils.js"></SCRIPT>
<FORM action="http://members.freewebs.com/formMail.jsp" method=post onsubmit="return validate(this)"><input type=hidden name="userid" value="33903874"><input type=hidden name="csvFilename" value="FWFORBIDDEN-getaquote-output"><div class="fw-paragraph">
<div class="fw-paragraphtop"></div>
<h3 class="fw-title"></h3>
<div class="fw-text"><!-- ParagraphStart 222780809 --><span class="formSpan"><label for="01 - Name">*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">*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)">*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">*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">*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">*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><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">*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"><CENTER><input type = "button" onclick="if (!validate(form)) return; form.submit();" name = "09 - Submit Enquiry" value = "Submit&nbsp;Enquiry"></CENTER></span><!-- ParagraphEnd 222786066 --><!-- ParagraphStart 222786442 --><input type = hidden name="next" value="http://www.it-homecare.com"><!-- ParagraphEnd 222786442 --><!-- ParagraphStart 222786579 --><input type = hidden name="logIPAddress" value="1"><!-- ParagraphEnd 222786579 --></div>
<div class="fw-paragraphbottom"></div>
</div></FORM>
</div>
</div>
</div>

<div id="fw-sidebar">
<div id="fw-sidebarbegin"></div>

<div id="fw-sidebarend"></div>
</div>
<div class="clears">
</div>
</div>

<div id="fw-footer">
<p id="fw-foottext" class="fw-footertext">Copyright &copy;2008</p>
<p><script>
_udn="none";
</script>
<script>
function utmx_section(){}function utmx(){}
(function(){var k='0083307441',d=document,l=d.location,c=d.cookie;function f(n){
if(c){var i=c.indexOf(n+'=');if(i>-1){var j=c.indexOf(';',i);return c.substring(i+n.
length+1,j<0?c.length:j)}}}var x=f('__utmx'),xx=f('__utmxx'),h=l.hash;
d.write('<sc'+'ript src="'+
'http'+(l.protocol=='https:'?'s://ssl':'://www')+'.google-analytics.com'
+'/siteopt.js?v=1&utmxkey='+k+'&utmx='+(x?x:'')+'&utmxx='+(xx?xx:'')+'&utmxtime='
+new Date().valueOf()+(h?'&utmxhash='+escape(h.substr(1)):'')+
'" type="text/javascript" charset="utf-8"></sc'+'ript>')})();
</script>


<script>utmx_section("Footer Link")</script>
<p id="wanta" style="float:left; font-size:11px; width:550px; text-align:left;"><a href="http://members.freewebs.com/?referer=freebar&cm_mmc=Freewebs-_-Free%20Website-_-Freebar-_-Free%20Website">
Want your own free site like this?  Try Freewebs.com</a>&nbsp;
</p>
</noscript>


<script>
if(typeof(urchinTracker)!='function')document.write('<sc'+'ript src="'+
'http'+(document.location.protocol=='https:'?'s://ssl':'://www')+
'.google-analytics.com/urchin.js'+'"></sc'+'ript>')
</script>
<script>
_uacct = 'UA-230305-10';
_udn="none";
urchinTracker("/0083307441/test");
</script>


<p id="wildfire" style="float:right; margin-right:5px;">
<script type="text/javascript">
  addthis_url    = location.href;   
  addthis_title  = document.title;  
  addthis_pub    = 'webs';     
</script>
<script type="text/javascript" src="http://s7.addthis.com/js/addthis_widget.php?v=12"></script>

<!--<script src="http://cdn.gigya.com/wildfire/JS/WFButton.js?module=share&partner=54291"></script>-->
</p>

</p>
</div>
</div>

<!-- --><script type="text/javascript" src="http://www.freewebs.com/i.js"></script><script type="text/javascript">if(typeof(urchinTracker)=='function'){_uacct="UA-230305-2";_udn="none";_uff=false;urchinTracker();}</script></body>
</html>


<!-- PageID 101333602-->
<!-- host53-vm15-ub-local.freewebs.com -->
i just need the body where the form is

i like this form coz, when the person presses submit it emails me witout them needing to "mailto:"

if u know wat i mean

i ahve tried just the body but the submit button send it through freewebs which limit the submistions to 25 a month
Edited by karan.t - 7/9/08 at 12:48pm
Deepthought
(17 items)
 
   
CPUMotherboardGraphicsRAM
Intel Core 2 Quad Q6600 (OC-3GHz{334x9}-1.24375v) Asus P5Q Pro Turbo GIGABYTE AMD Radeon HD 6850  OCZ 4GB Reaper HPC / Dual Ch. DDR2 PC6400 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 4 Seagate Barracuda 7200.9 SATA Seagate Barracuda 7200.9 SATA LG HL-DT-ST DVDRAM GSA-H42N SCSI DVD+RW/DVD-RAm 
CoolingOSMonitorKeyboard
Thermalright Ultra-120 eXtreme Windows 8 Pro x64 LG E2260V-PN Microsoft SideWinder X6 
PowerCaseMouseAudio
Thermaltake Toughpower W0103 600-Watt ATX 12V 2.2 Antec Performance One P182 Microsoft SideWinder X8 Logitech ClearChat Comfort USB Headset (H390) 
CPUMotherboardGraphicsRAM
Intel Core i7-4500U Dell XPS 12-9Q33 Intel HD Graphics 4400 8GB DDR3 
Hard DriveOSMonitor
SAMSUNG SSD SM841 mSATA 256GB Windows 8.1 64Bit 1080p Dell, 10 Point Touch 
CPURAMHard DriveOS
Intel Atom Z2420 1GB 16GB Android 4.1 
MonitorPowerOther
7" Touchscreen LED Backlight WXGA (1280x800) IP... 16Wh Li-polymer Battery GPS & Glonass,G-Sensor, E-compass, Proximity, A... 
  hide details  
Reply
Deepthought
(17 items)
 
   
CPUMotherboardGraphicsRAM
Intel Core 2 Quad Q6600 (OC-3GHz{334x9}-1.24375v) Asus P5Q Pro Turbo GIGABYTE AMD Radeon HD 6850  OCZ 4GB Reaper HPC / Dual Ch. DDR2 PC6400 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 4 Seagate Barracuda 7200.9 SATA Seagate Barracuda 7200.9 SATA LG HL-DT-ST DVDRAM GSA-H42N SCSI DVD+RW/DVD-RAm 
CoolingOSMonitorKeyboard
Thermalright Ultra-120 eXtreme Windows 8 Pro x64 LG E2260V-PN Microsoft SideWinder X6 
PowerCaseMouseAudio
Thermaltake Toughpower W0103 600-Watt ATX 12V 2.2 Antec Performance One P182 Microsoft SideWinder X8 Logitech ClearChat Comfort USB Headset (H390) 
CPUMotherboardGraphicsRAM
Intel Core i7-4500U Dell XPS 12-9Q33 Intel HD Graphics 4400 8GB DDR3 
Hard DriveOSMonitor
SAMSUNG SSD SM841 mSATA 256GB Windows 8.1 64Bit 1080p Dell, 10 Point Touch 
CPURAMHard DriveOS
Intel Atom Z2420 1GB 16GB Android 4.1 
MonitorPowerOther
7" Touchscreen LED Backlight WXGA (1280x800) IP... 16Wh Li-polymer Battery GPS & Glonass,G-Sensor, E-compass, Proximity, A... 
  hide details  
Reply
post #12 of 14
like i said earlier you have to use something like PHP or ASP to do what you want without the "mailto:". in the form tag you would do something like this.

Quote:
<form method="POST" action="emailme.php">
then you have to write a php script to actually do the emailing which is a bit more complicated. and you may or not have the capability to run a php on your webserver.

also how are you hosting this site i haven't been able to figure that out from your various posts.
My Baby
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 G0 EVGA 680i 122-CK-NF68-A1 EVGA GeForce 8800 GTS 640MB SLI 2x2GB Corsair Dominator 1066 CM2X2048-8C500C5D 
Hard DriveOptical DriveOSMonitor
WD SATA 1.5Gbps Raptor 74GB 2x LG SATA DVD-RW XP SP3 Dell 2407WFP 
PowerCase
Silverstone Strider 750W Lian Li Something or other 
  hide details  
Reply
My Baby
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 G0 EVGA 680i 122-CK-NF68-A1 EVGA GeForce 8800 GTS 640MB SLI 2x2GB Corsair Dominator 1066 CM2X2048-8C500C5D 
Hard DriveOptical DriveOSMonitor
WD SATA 1.5Gbps Raptor 74GB 2x LG SATA DVD-RW XP SP3 Dell 2407WFP 
PowerCase
Silverstone Strider 750W Lian Li Something or other 
  hide details  
Reply
post #13 of 14
Thread Starter 
mmmmm seems like PHP is better than HTML
but i just started learning HTML
Deepthought
(17 items)
 
   
CPUMotherboardGraphicsRAM
Intel Core 2 Quad Q6600 (OC-3GHz{334x9}-1.24375v) Asus P5Q Pro Turbo GIGABYTE AMD Radeon HD 6850  OCZ 4GB Reaper HPC / Dual Ch. DDR2 PC6400 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 4 Seagate Barracuda 7200.9 SATA Seagate Barracuda 7200.9 SATA LG HL-DT-ST DVDRAM GSA-H42N SCSI DVD+RW/DVD-RAm 
CoolingOSMonitorKeyboard
Thermalright Ultra-120 eXtreme Windows 8 Pro x64 LG E2260V-PN Microsoft SideWinder X6 
PowerCaseMouseAudio
Thermaltake Toughpower W0103 600-Watt ATX 12V 2.2 Antec Performance One P182 Microsoft SideWinder X8 Logitech ClearChat Comfort USB Headset (H390) 
CPUMotherboardGraphicsRAM
Intel Core i7-4500U Dell XPS 12-9Q33 Intel HD Graphics 4400 8GB DDR3 
Hard DriveOSMonitor
SAMSUNG SSD SM841 mSATA 256GB Windows 8.1 64Bit 1080p Dell, 10 Point Touch 
CPURAMHard DriveOS
Intel Atom Z2420 1GB 16GB Android 4.1 
MonitorPowerOther
7" Touchscreen LED Backlight WXGA (1280x800) IP... 16Wh Li-polymer Battery GPS & Glonass,G-Sensor, E-compass, Proximity, A... 
  hide details  
Reply
Deepthought
(17 items)
 
   
CPUMotherboardGraphicsRAM
Intel Core 2 Quad Q6600 (OC-3GHz{334x9}-1.24375v) Asus P5Q Pro Turbo GIGABYTE AMD Radeon HD 6850  OCZ 4GB Reaper HPC / Dual Ch. DDR2 PC6400 
Hard DriveHard DriveHard DriveOptical Drive
OCZ Vertex 4 Seagate Barracuda 7200.9 SATA Seagate Barracuda 7200.9 SATA LG HL-DT-ST DVDRAM GSA-H42N SCSI DVD+RW/DVD-RAm 
CoolingOSMonitorKeyboard
Thermalright Ultra-120 eXtreme Windows 8 Pro x64 LG E2260V-PN Microsoft SideWinder X6 
PowerCaseMouseAudio
Thermaltake Toughpower W0103 600-Watt ATX 12V 2.2 Antec Performance One P182 Microsoft SideWinder X8 Logitech ClearChat Comfort USB Headset (H390) 
CPUMotherboardGraphicsRAM
Intel Core i7-4500U Dell XPS 12-9Q33 Intel HD Graphics 4400 8GB DDR3 
Hard DriveOSMonitor
SAMSUNG SSD SM841 mSATA 256GB Windows 8.1 64Bit 1080p Dell, 10 Point Touch 
CPURAMHard DriveOS
Intel Atom Z2420 1GB 16GB Android 4.1 
MonitorPowerOther
7" Touchscreen LED Backlight WXGA (1280x800) IP... 16Wh Li-polymer Battery GPS & Glonass,G-Sensor, E-compass, Proximity, A... 
  hide details  
Reply
post #14 of 14
PHP is a server side scripting language that you use in conjunction with HTML to do things that HTML cannot do by itself. there are other server side scripting languages you can use that all server pretty much the same function as PHP. There's ASP.net, Ruby on Rails, Cold Fusion, and Java just to name a few. But you still haven't said how your hosting this website. Is it on your home server (If so what platform Windows or Linux, Apache or IIS), is it a free hosting site like angelfire (You will have to use a form hosting service if thats the case.), or is it a paid hosting like dreamhost (name the specific hosting service so we can find out what kind of resources you have access to)?
My Baby
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 G0 EVGA 680i 122-CK-NF68-A1 EVGA GeForce 8800 GTS 640MB SLI 2x2GB Corsair Dominator 1066 CM2X2048-8C500C5D 
Hard DriveOptical DriveOSMonitor
WD SATA 1.5Gbps Raptor 74GB 2x LG SATA DVD-RW XP SP3 Dell 2407WFP 
PowerCase
Silverstone Strider 750W Lian Li Something or other 
  hide details  
Reply
My Baby
(13 items)
 
  
CPUMotherboardGraphicsRAM
Q6600 G0 EVGA 680i 122-CK-NF68-A1 EVGA GeForce 8800 GTS 640MB SLI 2x2GB Corsair Dominator 1066 CM2X2048-8C500C5D 
Hard DriveOptical DriveOSMonitor
WD SATA 1.5Gbps Raptor 74GB 2x LG SATA DVD-RW XP SP3 Dell 2407WFP 
PowerCase
Silverstone Strider 750W Lian Li Something or other 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Coding and Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › [HTML] How to Make a Form on a website