submitting an enquiry form

This is a discussion on "submitting an enquiry form" within the Web Page Design section. This forum, and the thread "submitting an enquiry form 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 Jul 10th, 2006, 16:28
Junior Member
Join Date: Jul 2006
Location: London
Age: 26
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
submitting an enquiry form

i am a newbie and this is my first site. i have designed an enquiry form for my website but dont know how to make it functional (ie send the form to email after the client has filled it in)...

take a look at http://www.nickfordyoung.com/doitwithxs/enquiries.htm

thankyou in advance
Reply With Quote

  #2 (permalink)  
Old Jul 10th, 2006, 16:41
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: submitting an enquiry form

Depending on wether you have a Windows or a Linux host you can use either PHP or ASP.
Reply With Quote
  #3 (permalink)  
Old Jul 10th, 2006, 18:26
Junior Member
Join Date: Jul 2006
Location: London
Age: 26
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: submitting an enquiry form

i think i have a windows host. what is the easiest way to have the enquiry form emailed to me? the original enquiry http://www.doitwithxs.com/enquiries.php uses php. does it have to use php? if so, for what reason? i thought i could do a simple html form which posts the reulsts to an email address, I just dont know how yet!

if i must use php, could you give me a quick (and basic) description of how to set it up and what i must do to make it work. thanks, much appreciated
Reply With Quote
  #4 (permalink)  
Old Jul 10th, 2006, 21:14
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: submitting an enquiry form

Look in the php forum theres lots of threads on PHP's mail function.

Sending email
Reply With Quote
  #5 (permalink)  
Old Jul 11th, 2006, 14:02
minute44's Avatar
Moderator
Join Date: Apr 2006
Location: Nottingham UK
Age: 24
Posts: 1,347
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to minute44
Re: submitting an enquiry form

It is possible to do this without the use of PHP but it is wicked unreliable and depends on the user having an email client (Outlook, Oulook Express, Thunderbird etc) installed on their PC. I've used it and it blows.

The PHP method works server side and takes the contents of the form and puts it into a format determined by you using form entries to fill in blanks. for example you could get it to say:

Dear Webmaster,

_____________ has applied for the position of __________. They have left a contact telephone number of ____________ and their resume can be found at ___________________.

This is a much more sofisticated and user friendly way of doing email forms, it also means your email address isn't viewable to the public and spammers.

Like Sypher said, look in the PHP forum there will be loads of solutions in there.

Dan.
Last Blog Entry: Annoying people.... (Jan 16th, 2008)
Reply With Quote
  #6 (permalink)  
Old Jul 11th, 2006, 16:04
Junior Member
Join Date: Jul 2006
Location: London
Age: 26
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: submitting an enquiry form

sounds good to me! does this mean i have to do the whole site in php? or just the one enquiry page?
Reply With Quote
  #7 (permalink)  
Old Jul 11th, 2006, 16:09
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: submitting an enquiry form

Just the one page.
Reply With Quote
  #8 (permalink)  
Old Jul 11th, 2006, 16:16
Junior Member
Join Date: Jul 2006
Location: London
Age: 26
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: submitting an enquiry form

so, i recreate the page in php format? can i copy paste the html into the php page from the current one. if so, then what? what do i put in for 'action'
...?
Reply With Quote
  #9 (permalink)  
Old Jul 11th, 2006, 16:20
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: submitting an enquiry form

just open it up on notepad, save as
nameofpage.php

Make sure to put .php at the end of the name.

It depends if your using a seperate page for php to handle your mail or if your using your current one. Post the code your gonna be using.
Reply With Quote
  #10 (permalink)  
Old Jul 11th, 2006, 16:23
Junior Member
Join Date: Jul 2006
Location: London
Age: 26
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Re: submitting an enquiry form

sorry, im totally lost. i have opened a new php document in dreamweaver and pasted in the code form the old enquiries page so it looks the same. Is this ok? If so, whats next?
Reply With Quote
  #11 (permalink)  
Old Jul 11th, 2006, 16:27
Most Reputable Member
Join Date: Aug 2005
Location: North Wales, United Kingdom
Age: 21
Posts: 1,093
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to sypher
Re: submitting an enquiry form

Now you need to add the php.

it works like this:
By pressing submit on your form the data of each field will be passed between pages, meaning the php page which received the form data can then use that data to do whatever it wants.

One of php's functions is called the mail() function.

Ill post the php code you need and explain what each part does in the post you made at the php forum.
Reply With Quote
  #12 (permalink)  
Old Jul 11th, 2006, 16:38
Most Reputable Member
Join Date: Apr 2006
Location: Cornwall, UK
Posts: 1,310
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Skype™ to ukgeoff
Re: submitting an enquiry form

Hi Folks,

This person has also posted in the php forum where, I hope, I've set him on the right track.
Reply With Quote
Reply

Tags
submitting, enquiry, form

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
Submitting a parent form from a child window in IE 7 livehed JavaScript Forum 0 Feb 15th, 2007 16:23
Link form to different page after submitting facehead Web Page Design 3 Nov 3rd, 2006 21:05
Auto Submitting a Form ClaireB JavaScript Forum 2 Nov 25th, 2005 08:00
Submitting Web form results to a database theproman23 Databases 2 Jun 30th, 2005 13:21
Submitting a form on one page! courtjester Classic ASP 5 Sep 10th, 2004 19:03


All times are GMT. The time now is 20:57.


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