Jump to content


Contact form


10 replies to this topic

#1 Propax

    P2L Jedi

  • Members
  • PipPipPip
  • 711 posts
  • Gender:Male
  • Location:Greatest Great Britain
  • Interests:Webdesign, Football, Manchester United FC, Seeing the World, Music and tons more other stuff.

Posted 20 March 2007 - 07:04 AM

Hi

As you all may ready know from my previous threads here I am currently designing a site for friend. All is good and he likes the site but would prefer a contact form instead of an email link. I have searched high and low for tutorials and the only one that I clould find for using dreamweaver didn't work properly.

I would be truly greatful for some help guys.

Thanks

#2 Jacorre

    P2L Jedi

  • Members
  • PipPipPip
  • 824 posts
  • Gender:Male
  • Location:USA
  • Interests:Computers, Technology, Internet, Graphic/Web Design, Music, Soccer

Posted 20 March 2007 - 08:58 AM

Try reading about forms on W3 Schools.

#3 Propax

    P2L Jedi

  • Members
  • PipPipPip
  • 711 posts
  • Gender:Male
  • Location:Greatest Great Britain
  • Interests:Webdesign, Football, Manchester United FC, Seeing the World, Music and tons more other stuff.

Posted 20 March 2007 - 06:33 PM

Jacorre, thanks for posting that site, I have got it working succesfully but everytime I submit a post I get two messages from microsoft saying "you are sending an email via the internet, the email recpient will be able to view your email address" or something along those lines, I then click send and another appears saying " do you wish to send to this address?" displaying both email addresses, the one where it is going to and the one it was sent from.

Do you know how to remove theses meassages.

Thanks

#4 greg

    Jedi In Training

  • Members
  • PipPip
  • 499 posts
  • Location:New York City
  • Interests:Fine art, web and graphic design, naval architecture, chess, and sports.

Posted 20 March 2007 - 08:26 PM

I've never heard about such messages before. Try reading this: Basic Contact Form. It doesn't show any messages, as far as I know.

#5 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 20 March 2007 - 11:41 PM

The messages occur when trying to use a form with an action="mailto:foo@bar.com." I don't know if you have access to a php/smtp enabled server, but i would recommend using a php form for a contact form. It will alleviate the problems you're having, and there are hundreds of tutorials/topics about them here.

#6 Propax

    P2L Jedi

  • Members
  • PipPipPip
  • 711 posts
  • Gender:Male
  • Location:Greatest Great Britain
  • Interests:Webdesign, Football, Manchester United FC, Seeing the World, Music and tons more other stuff.

Posted 21 March 2007 - 06:33 AM

The client who I am working for, his servers doesn't allow php. Lame I know.

Thanks

#7 WoWscape

    Young Padawan

  • Members
  • Pip
  • 77 posts

Posted 21 March 2007 - 07:14 AM

If he doesn't have PHP, I believe you cannot have any PHP scripts. Therefore, you're unable to get a contact form unless you have it developed in some other language.

#8 Brandonador

    Young Padawan

  • Members
  • Pip
  • 238 posts
  • Gender:Male
  • Location:Michigan
  • Interests:I really love computers. Especially the internet, and discovering new people's ideas, and designs. Love to look at different layouts and coded designs that people come up with. And Flickr, one of my favorite sites...

Posted 21 March 2007 - 05:43 PM

I'm sorry, but I believe that you pretty much need PHP to develop a contact form like this.. I even searched on google but, found no luck also. All the scripts I found are all for either PHP or some other or higher programming code/language. And I assume the client doesn't support ASP or ColdFusion or any of that stuff, either. But as far as creating an actual contact form withought PHP, I myself don't know a way of doing it.. or a good website that would help, well, good luck! :g[1]:

Brandon

#9 rc69

    PHP Master PD

  • P2L Staff
  • PipPipPipPip
  • 3,827 posts
  • Gender:Male
  • Location:Here
  • Interests:Web Development

Posted 22 March 2007 - 01:44 PM

If your clients servers don't support php or any other programming language (like ASP, or maybe even C#), then i would recommend he gets a new server, ESPECIALLY if he is paying for it. If it's a free server, then i would recommed finding another free server, there are plenty out there. Hell, i pay $12 a year for my hosting.

But simply put, with out some kind of server-side language, there is no way you can go about getting around the pop-up messages. Anybody who wants to use that contact for will have to have a default e-mail client on their computer that will have to boot up before anybody can send their message. If that ever happened to me, i would close the site immediately and probably never return. Plus, what happens when using a public computer that supports an i-net connnect but doesn't have any e-mail programs like outlook on it?

#10 Mooey

    Retired P2L Staff

  • Members
  • PipPipPip
  • 585 posts
  • Gender:Male
  • Location:UK
  • Interests:http://500px.com/mikeholman
    http://holmanmedia.net

Posted 23 March 2007 - 08:13 AM

This is a 'non' php form but it still uses the email client to send the mail.

I cant remember the site I found it on :bashhead:

<form action="mailto:YOUR@EMAIL.COM?subject=SUBJECT OF THE EMAIL" method="post" enctype="text/plain">
<table><tr><td>
Name : <INPUT NAME="Name" TYPE="text" VALUE="Your Name" SIZE=20><BR><br>
Email : <INPUT NAME="Email" TYPE="text" VALUE="email@domain.com" SIZE=20><br><br>
Subject: <INPUT NAME="Subject" TYPE="text" VALUE="Subject" SIZE=40><BR><br><TEXTAREA NAME="Comments" ROWS=20 COLS=50></TEXTAREA><BR>

</td></tr><br>
<tr><td align=center>
<INPUT TYPE="submit" value="submit" style="color: #ffffff; background-color: #000000">
</td></tr></table>
</FORM>


#11 UnderAttak

    Young Padawan

  • Members
  • Pip
  • 57 posts
  • Gender:Male
  • Location:San Diego

Posted 24 March 2007 - 12:32 AM

Just create the form, text fields, reset and submit button like normal. Then make the form's action to "mailto:address@address.com". Sure it's not as great as a PHP contact form, but at least it will take all of your typed fields into the user's default email program automatically.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users