Submit Forms

This is a discussion on "Submit Forms" within the Web Page Design section. This forum, and the thread "Submit Forms are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old May 16th, 2007, 10:47
Reputable Member
Join Date: May 2007
Location: Margate
Age: 24
Posts: 156
Thanks: 0
Thanked 0 Times in 0 Posts
Submit Forms

I have got to the last book of my course and it has taught me how to design a submit form.

Basic form but it then goes on to say to get the form to work you will have to use software from your hosting company.

Where do I start?? have the form ready.
Company hosting with is www.gnhosting.co.uk

Dan
Reply With Quote

  #2 (permalink)  
Old May 17th, 2007, 13:03
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Submit Forms

You don't really need software from your hosting company, you can actually create your own script. Using a server-side language is always the best way to go about it: PHP or ASP/.NET

I always send people to joe2torials.com for scripts but there's tons and tons on the internet.
Reply With Quote
  #3 (permalink)  
Old May 17th, 2007, 19:50
Reputable Member
Join Date: May 2007
Location: Margate
Age: 24
Posts: 156
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Submit Forms

I ask for to much sometimes.

Here is my form in html

I have downloaded the 3 .php file from this link http://www.joe2torials.com/view_tutorial.php?view=68 never used .php before. Been trying to read other threads but got lost several times. I have work out how to edit the .php forms but not connect it to the form.

Any help would be greatful

Dan

Code: Select all
 
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML><!-- InstanceBegin template="/Templates/template.dwt" codeOutsideHTMLIsLocked="false" -->
<HEAD>
<!-- InstanceBeginEditable name="doctitle" -->
<TITLE>&nbsp;</TITLE>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</HEAD>
<BODY BGCOLOR="#000000" TEXT="#FFFFFF">
 
<table width="100%" height="215" border="0" cellpadding="2" cellspacing="2">
  <tr>
    <td width="15%">&nbsp;</td>
    <td width="70%"><!-- InstanceBeginEditable name="Content" --></script></div>
  </div>
    <div id="middletxt">
      <div id="content">
         <form id="form1" name="form1" method="post" action=""><br>
<br>
<br>
      <p align="center">You can contact us via email by completing the form </p>
      <div align="center">
        <table width="80%" border="1" cellspacing="2" cellpadding="2">
          <tr>
            <td align="right"><p>Please enter your name: </p></td>
            <td><input name="name" type="text" id="name" value="your name" /></td>
          </tr>
          <tr>
            <td align="right"><p>Please enter your email address: </p></td>
            <td><input name="address" type="text" id="address" value="Your E-Mail address" /></td>
          </tr>
          <tr>
            <td align="right"><p>Type your message in the space provided: </p></td>
            <td><textarea name="message" cols="50" rows="10" id="message"></textarea></td>
          </tr>
          <tr>
            <td align="right"><p>Click Submit to send your message or reset to cancel </p></td>
            <td><p>
              <input type="submit" name="Submit" value="Submit" />
              </p>
            <p>
              <input type="reset" name="Submit2" value="Reset" />
  </p></td>
          </tr>
        </table>
      </div>
      <p align="center">&nbsp;</p>
    </form>
  </div>
  </p></td><!-- InstanceEndEditable --></td>
 <td width="15%">
  </tr>
</table>
<p>&nbsp;</p>
<div id="footer">
</div>
<p>&nbsp;</p>
<p>&nbsp;</p>
</BODY>
<!-- InstanceEnd --></HTML>
Reply With Quote
  #4 (permalink)  
Old May 18th, 2007, 12:04
karinne's Avatar
SuperMember

SuperMember
Join Date: Jan 2007
Location: You know where
Age: 31
Posts: 4,617
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Submit Forms

In the contact.php that's on the tutorials site, there's this

Code: Select all
<div id="Wrapper">
<?php
$Error = $_GET['error'];
if(isset($Error)) {
echo '<fieldset><legend>Contact Form</legend>'."n";
echo '<form action="thank_you.php" method="post">'."n";
echo '<p><label for="name"><strong>Name :</strong></label><br />'."n";
echo '<input type="text" name="name" id="name" tabindex="1" size="40" value="'.$_SESSION['name'].'" /></p>'."nn";
You need to be using that contact.php file ... not the one you have pasted here.
Reply With Quote
Reply

Tags
html

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
submit many forms - auto submit the same form many times divs JavaScript Forum 0 May 24th, 2007 10:10
HTML forms (format after submit) dannozza Web Page Design 1 May 11th, 2007 14:35
Forms nzamusangamungu Web Page Design 5 Nov 13th, 2006 13:10
ASP Forms thoulden Classic ASP 3 Jun 24th, 2005 15:14
Forms Q joshcxa Web Page Design 2 Jun 21st, 2005 22:52


All times are GMT. The time now is 11:03.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43