Home   News  Product reviews  Website reviews  Forums   Competitions  Subscribe 


Web Building >> Web design & build
 |  Print Topic
Jump to first unread post. Pages: 1
dazzdave
new user


Reg'd: Sat
Posts: 6
Contact Me Form
      #158084 - Sat Feb 05 2005 03:37 PM

The layout and structure of my website is now complete -now all that is needed is the content, I am having trouble creating a contact form, I am a beginner to web design, but basically what I want is the following:

Name field = Text Box
Email Address field = Text Box
Comments field = Textarea
Submit Button = Button

And I would like a dialog box to come up if they havent entered their name, email address and comments saying what they need to enter, and when they click on the submit button, ll of the information gets sent to the email address I specify.

Thanks, hope you can help.


Post Extras: Print Post   Remind Me!   Notify Moderator  
NanookModerator
regular


Reg'd: Tue
Posts: 995
Loc: South East England
Re: Contact Me Form [Re: dazzdave]
      #158097 - Sat Feb 05 2005 04:20 PM

It wont let me put the whole code here so I put it on the web at
www.bains007.co.uk/help/FORM.html

you place the first code where you want the form, if you want to use php change it to
action="pagename.php" otherwise change the email to your email address

you can see how it will look here:
www.bains007.co.uk/help/FORM1.html

Edited by nanook on 05/02/2005 16:34 (server time).



Post Extras: Print Post   Remind Me!   Notify Moderator  
dazzdave
new user


Reg'd: Sat
Posts: 6
Re: Contact Me Form [Re: Nanook]
      #158102 - Sat Feb 05 2005 04:39 PM

I copied the link into my browsre but the page says cannot find server!


Post Extras: Print Post   Remind Me!   Notify Moderator  
NanookModerator
regular


Reg'd: Tue
Posts: 995
Loc: South East England
Re: Contact Me Form [Re: dazzdave]
      #158109 - Sat Feb 05 2005 04:48 PM

My appologies
http://tinyurl.com/4xyb5 -- to see the code
http://tinyurl.com/6ssnx -- to see the form (which will not actually send btw)


Post Extras: Print Post   Remind Me!   Notify Moderator  
dazzdave
new user


Reg'd: Sat
Posts: 6
Re: Contact Me Form [Re: Nanook]
      #158113 - Sat Feb 05 2005 05:12 PM

thanks really helped but one more questioan again sorry, if I change it to submit.php because I dont want the form to be emailed through an email program, how does the form know where to email the from to, could you please tell me what I do if I change it to submit.php thanks
lol?!


Post Extras: Print Post   Remind Me!   Notify Moderator  
NanookModerator
regular


Reg'd: Tue
Posts: 995
Loc: South East England
Re: Contact Me Form [Re: dazzdave]
      #158117 - Sat Feb 05 2005 05:24 PM

If you have PHP on your server your basic PHP page will need code like this
http://gregbains.pwp.blueyonder.co.uk/help/FORM3.html

You can see this code in action if you go to
www.bains007.co.uk and click contact (at the bottom of the page), you will see the form with validation and then it gets sent to the PHP file which takes that information and sends it to my email address and the email of the person who sent it. Try it out!

If you use my site to try it out you can get a better idea of how it works


Edited by nanook on 05/02/2005 17:25 (server time).



Post Extras: Print Post   Remind Me!   Notify Moderator  
Pages: 1

Rate this topic

Jump to


Extra information
1 registered and 7 anonymous users are browsing this forum.

Moderator:  putasolutions, Joe_London, greysts, bricat, Nanook, Hello_There, John_McKenna, Mouse, TheFatControlleR 


Print Topic

Forum Permissions
      You cannot start new topics
      You cannot reply to topics
      HTML is disabled
      Mark-up is enabled

Rating:
Topic views: 279

Contact Us | Privacy statement Main website