Form

This is a discussion on "Form" within the Starting Out section. This forum, and the thread "Form are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Starting Out

Notices




Reply
 
LinkBack Thread Tools
  #1  
Old Oct 5th, 2007, 04:05
New Member
Join Date: Oct 2007
Location: NYC
Age: 1
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Form

Hi,

I'm very new to this and I'm working on a website for a company that I work for. I was wondering if someone can help me with a form page on the site. I have created the page but it does not work. When SUBMIT is clicked I would like the information entered to be sent to my email address and I would like the page to be redirected to a "Thank You" page.

I have attached the page as well as the page that I would like it to go to when SUBMIT is clicked on. (http://rosallimos.com/onlinequote.html & http://rosallimos.com/thankyou.html)

I am using Dreamweaver to create the site and the site is hosted by GoDaddy.

Your help would be greatly appreciated.

Regards,
Melissa

P.S. I know the site still needs a lot of work, but I would like to get the site functioning properly before I work on the esthetics .
Attached Files
File Type: html onlinequote.html (13.8 KB, 9 views)
File Type: html thankyou.html (6.8 KB, 5 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote

  #2  
Old Oct 5th, 2007, 05:08
Rakuli's Avatar
SuperMember

SuperMember
Join Date: Sep 2007
Location: Australia
Age: 24
Posts: 956
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form

Hi Melissa,

In order for information from a form to be sent to your email address you need to do one of three things.

1) Change the action="" of your form to point to your email address. When the user clicks the submit button, their default mail client will open to send the form information.

2) Use a formmailer service. When you point your form action="" to their address, they will process the form results and mail it to you. I found a list here http://cgi.resourceindex.com/Remotel...rm_Processing/

3) Set up server side processing technology (such as PHP or ASP) and write a script that will receive, process and mail the results to you.

Obviously option 1 is the easiest but also the least reliable, option 2 works when you don't have a server side language on your host or no knowledge (or desire to tow write a script). For simple form processing for the starting webbie, option 2 would be good.

Option 3 requires a server side language and also allows for greatest customisation. (I think goDaddy.com) has PHP on their packages.

The next part of your question as to the thank you page, option 1) would need javascript to change the page location once submitted. Option 2) most of these mailer services allow you to specify a redirect page after submission. Option 3) Once the script has finished processing the results, you can direct the user there.

I Hope that helps.

Cheers,
Last Blog Entry: The wannabe juggler's quest (Oct 27th, 2007)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3  
Old Oct 5th, 2007, 23:17
New Member
Join Date: Oct 2007
Location: NYC
Age: 1
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form

Hi,

Thanks for taking the time to help me out.

I have very limited PHP knowledge, if I decide on that option I will need some further instruction. If you could help me out with that or if you could tell me of any good resources for learning more about this I would appreciate that.

I think #1 would be the easiest option for me; I would rather not use a formmailer service. Could you take a look at what I have (attached to my first post) and possibly point out the mistakes I have made? If that doesn't work I will have to try the PHP method.

Regards,
Melissa
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4  
Old Oct 8th, 2007, 21:17
New Member
Join Date: Oct 2007
Location: NYC
Age: 1
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form

I found out that GCI was disabled on my hosting account so I have now enabled it. However, my form still does not work.

Could someone take a look at this and possibly point out my errors?
Code: Select all
<form id="form1" name="form1" method="POST" action="/cgi-bin/mailto"
          onsubmit="return validateForm(contact);"><input name="RECIPIENT" value="rosallimos@aol.com" type="hidden"><input name="THANKURL" value="http://rosallimos.com/thankyou.html" type="hidden">
        <div style="text-align: left;">
<label></label>
              <p>
                <label>
                <div align="left">
                <div align="left"><strong><em>Name</em></strong>
                  <input name="Name" type="text" id="Name" size="40" />
 
 
                </div>
                </label><label></label>
                <div align="left"></div>
            <p align="left">
                <label><strong><em>Email</em></strong>
                <input name="Email" type="text" id="Email" size="40" />
                </label>
            </p>
            <p align="left">
                <label><em><strong>Telephone</strong></em>
                <input name="Telephone" type="text" id="Telephone" size="35" />
              </label>
              </p>
              <p align="left"> <strong><em>Service Type </em> </strong>
                  <select name="Service Type" id="Service Type">
                    <option value="Select" selected="selected">Select</option>
                    <option value="Anniversary">Anniversary</option>
                    <option value="Bachelor Party">Bachelor Party</option>
                    <option value="Bachelorette Party">Bachelorette Party</option>
                    <option value="Birthday">Birthday</option>
                    <option value="Casino">Casino</option>
                    <option value="Night on The Town">Night on The Town</option>
                    <option value="Prom">Prom</option>
                    <option value="Sweet 16">Sweet 16</option>
                    <option value="Wedding">Wedding</option>
                  </select>
              </p>
              <p align="left">
                <label><em><strong>If other, please specify</strong></em>
                <input name="If other, please specify" type="text" id="If other, please specify" size="22" />
                </label>
              </p>
              <p align="left">
                <label><em><strong>Month</strong></em>
                <select name="Month" id="Month">
                  <option selected="selected">Select</option>
                  <option value="January">January</option>
                  <option value="February">February</option>
                  <option value="March">March</option>
                  <option value="April">April</option>
                  <option value="May">May</option>
                  <option value="June">June</option>
                  <option value="July">July</option>
                  <option value="August">August</option>
                  <option value="September">September</option>
                  <option value="October">October</option>
                  <option value="November">November</option>
                  <option value="December">December</option>
                </select>
                </label>
            </p>
              <p align="left">
                <label><em><strong>Date</strong></em>
                <select name="Date" id="Date">
                  <option value="Select">Select</option>
                  <option value="1">1</option>
                  <option value="2">2</option>
                  <option value="3">3</option>
                  <option value="4">4</option>
                  <option value="5">5</option>
                  <option value="6">6</option>
                  <option value="7">7</option>
                  <option value="8">8</option>
                  <option value="9">9</option>
                  <option value="10">10</option>
                  <option value="11">11</option>
                  <option value="12">12</option>
                  <option value="13">13</option>
                  <option value="14">14</option>
                  <option value="15">15</option>
                  <option value="16">16</option>
                  <option value="17">17</option>
                  <option value="18">18</option>
                  <option value="19">19</option>
                  <option value="20">20</option>
                  <option value="21">21</option>
                  <option value="22">22</option>
                  <option value="23">23</option>
                  <option value="24">24</option>
                  <option value="25">25</option>
                  <option value="26">26</option>
                  <option value="27">27</option>
                  <option value="28">28</option>
                  <option value="29">29</option>
                  <option value="30">30</option>
                  <option value="31">31</option>
                </select>
                </label>
            </p>
              <p align="left">
                <label><em><strong>Year</strong></em>
                <select name="Year" id="Year">
                  <option value="Select">Select</option>
                  <option value="2007">2007</option>
                  <option value="2008">2008</option>
                  <option value="2009">2009</option>
                </select>
                </label>
            </p>
              <p align="left">
                <label><strong><em>Number of Passengers</em></strong>
                <input name="Number of Passengers" type="text" id="Number of Passengers" size="23" />
                </label>
              </p>
              <p align="left"><strong><em>Pickup Time</em></strong> <span id="sprytextfield2">
                <input name="Pickup Time" type="text" id="Pickup Time" size="33" />
            </span> </p>
            <p align="left"><em><strong>Drop Off Time</strong></em>
                  <input name="Drop Off Time" type="text" id="Drop Off Time" size="31" />
              </p>
              <p align="left">
                <label><em><strong>Pickup Location</strong></em>
                <input name="Pickup Location" type="text" id="Pickup Location" size="29" />
                </label>
              </p>
              <p align="left"><strong><em>Destination </em> </strong>
                  <input name="Destination" type="text" id="Destination" size="34" />
              </p>
              <p align="left">
                <label><strong><em>Comments </em> </strong>
                <textarea name="Comments" id="Comments" cols="33" rows="5"></textarea>
                </label>
              </p>
              <p align="left">
                <label> 
                <input type="submit" name="Submit" id="Submit" value="Submit" />
                </label>
                <label>
                <input type="reset" name="Reset" id="Reset" value="Reset" />
                </label>
              </p>
            </form>
Thanks,
Melissa
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5  
Old Oct 9th, 2007, 02:28
Junior Member
Join Date: Jul 2007
Location: Arkansas, USA
Age: 21
Posts: 45
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form

If you are wanting to use the PHP option, I have the code for it.
Last Blog Entry: First Post! (Apr 18th, 2008)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6  
Old Oct 9th, 2007, 18:17
New Member
Join Date: Oct 2007
Location: NYC
Age: 1
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form

Sure, that would be great.

Thanks,
Melissa
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7  
Old Oct 9th, 2007, 22:13
Highly Reputable Member
Join Date: Jul 2006
Location: Devon, England
Posts: 565
Thanks: 0
Thanked 0 Times in 0 Posts
Re: Form

You could check out these links

http://www.safalra.com/programming/p...feedback-form/
http://www.plus2net.com/php_tutorial...dback_form.php
http://www.ibdhost.com/contact/
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

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
Hiding / Showing form fields based on previous form input John Alexander Hopper PHP Forum 1 Mar 10th, 2008 11:30
form variable within an iframe component of a form kissfreaque PHP Forum 3 Feb 29th, 2008 13:06
form variable within an iframe component of a form kissfreaque JavaScript Forum 5 Feb 29th, 2008 11:57
[SOLVED] PHP contact form redirect to same form Posie PHP Forum 14 Jan 29th, 2008 20:28
ASP form to check weather a form value is already in the database Andrew1986 Classic ASP 3 Oct 25th, 2007 08:23


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


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization 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