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.
|
|
|
|
|
![]() |
||
Form
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
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 . |
|
|
|
#2
|
||||
|
||||
|
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)
|
|
#3
|
|||
|
|||
|
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 |
|
#4
|
|||
|
|||
|
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?
Melissa |
|
#5
|
|||
|
|||
|
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)
|
|
#6
|
|||
|
|||
|
Re: Form
Sure, that would be great.
Thanks, Melissa |
|
#7
|
|||
|
|||
|
Re: Form
|
![]() |
| Thread Tools | |
|
|
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 |