Okay. Let me preface this question by saying I know nothing about CSS, HMTL, Java script, or anything.
My boss wants me to put a contact form on our company website. He sent me a link to this:
I'm supposed to put the "standard contact form" on the contact portion of our website so that prospective clients can email us. I used Dreamweaver to replace a picture with another picture on our website once. That's about the extent of my CS experience.
I have the contact page of our website open in Dreamweaver. Now how do I implement this contact form? Any ideas for an idiot?
For starters you should realize that "forms" usually require more than one page (or file).
First, there is an HTML (or PHP) Web page that actually displays what visitors see on the Web page.
Second, there is (usually) a separate PHP file that sits on the server to "process" the form. This file does the actual emailing.
Third/Fourth, there may also be additional pages that display if an error is encountered in processing the form (no email address for example) as well as a "Thank you for contacting us" type page if the form is properly filled out.
About the best you can do is to follow the directions that come with the form you are using... or do a little study in how forms work.
That's why I always create a Wordpress.org site for all my clients. So much easy with plugins vs dreamweaver stuff anymore. Plus Google gives first rankings with WP sites now.
[spam link removed]
Hate to deflate your ballon... but creating a site in WordPress of and by itself will NOT give you "first rankings" in Google. There is a LOT more involved in page ranking than the tool you use to create the site... and after all, that what WordPress (or DreamWeaver) is... it's just one of many tools available to create Web sites.
No worries, you didn't deflate my ballon. I am so aware of that. It just mentioned WP to Paul because he was talking about his site. I am fully aware of the many areas that help support a business's Google rankings. However, as a Google certified partner here is an insight. Lets say we built the exact same website with completely the same SEO optimization....one in WP and the other in Dreamweaver. Trust me the WP site would be above the other when you did the searches.
Anyway, I really appreciate your feedback. Have a great evening!
nothing makes WP better in SEO than DW. It all depends on so many factor. did you make test on WP and DW site exactly the same, with all the same factor set on...??? Do you have any links for those report and analysis... ??? after pushing various tests performed with SEO and google for a while, I'd be curious to see what makes it so suddenly biased.
during one of his lectures Matt Cutts shows why WP is a framework of choice to optimize its referencing, but it does not show that WP is preferred to anything else. so take such a shortcut would be speculative
now to be back to the original question... I agree with Adninjastrator, about th efact that forms need at least 2, (better 4) files to be hndled correctly, without avoiding the fact of setting the database and all the administration files around that. But I will add that depending on the frequency and the type of post that you will recieved, you could use about only one file, and do a mailto/ post method. I agree that is is just to get the feet on, and it is not an optimal method, but that can sometime be helpfull.
tell us more about your needs ?
When we did the testing last year, we ran with WP and discontinued the DW. It was really interesting. It wasn't our focus to work in an industry to compare the two because WP and DW are great platforms. We did it more or less for our own interest in split testing the two with just the basics. The exercise was rather interesting.
I agree, we should stay to the original question. I was just offering my opinion that WP can be very quick and easy for contact forms.
Lets say we built the exact same website with completely the same SEO optimization....one in WP and the other in Dreamweaver. Trust me the WP site would be above the other when you did the searches.
I seriously doubt that. If the SEO optimization is the same, then the sites would rank the same. There is no extra ranking given for just being a WP site that I know of.
Okay, here are my needs.
I need a form to put on our website that emails our company when you fill it out. It should give us the the filler-outers contact info.
It needs to be a form from this website: http://sprawsm.com/uni-form (I think the Standard Contact Form is what I want).
It needs to be explained to me how to make this happen using Dreamweaver like I'm an idiot. Because I am an idiot.
One of the only helpful (and on topic) replies! Thank you adninjastrator.
I made a blank page in Dreamweaver and pasted the HTML in from that first link you sent. That made a form. Great.
Now how do I get the PHP portion of the code to interact with the HTML form I copied over? Do I copy and paste the PHP part underneath the HTML part in Dreamweaver? I don't know where to put the PHP part of the code.
Many thanks for your help.
One of the only helpful (and on topic) replies!
I must take exception to this comment, in your original post you asked how you could put a contact form on to a website for your boss.
The link I suggested you look at would have done it, I've created many websites, the most recent for a Doctors Surgery.
I used the link I suggested to create the contact form as well as other forms. I used dreamweaver to incorporate them and they are now fully functioning and live.
So I think it fair to say you have had two replies that were on topic and not one.
Looks like the link your boss gave you is for styling the form only. That's not going to give you a complete solution.
If you want to get this done fast without working with code, look at this service:
Wufoo.com (on-line form service)
If you're up for a challenge, you need an HTML form styled with CSS and a form-to-email processing script -- -preferably one which conceals your e-mail address from harvesters and has built-in spam prevention.
Contact your web host and ask them if they have a script you can use. Hosts often load form processing scripts on their servers which you can activate through your Admin Panel or by referencing the script in your form's action attribute.
If your host doesn't provide scripts, ask them which server-side languages you can use (php, asp, asp.net, perl, coldfusion, etc...). This tells you which flavor script you need.
FormToEmail.com (free & pro versions available)
Forms to Go from Bebosoft (script generating software)
The php part is a completely separate file, saved with a .php extention
The "action" of the same form is "send_form_email.php"
So copy the entire php part of the code to a new, blank file, and in codeview, paste in the php, then save that file as
Be sure to edit as needed
// EDIT THE 2 LINES BELOW AS REQUIRED
"Your email subject line"
Now upload both the html page with the form on it to your Web server as well as the new .php file.
Then test the form while it's live on line.
The .php file will not work on your local machine unless you have a local server set up.... easier to just upload and test.
But review the links I posted as well as Gramps. Trouble shooting is much easier if you understand the process.
hjksdhuifa, yes, you were on topic too. That's why I said adninjastrator was ONE of the only helpful/on topic replies. And since then there have been other helpful replies (and I thank everyone for taking the time to use their knowledge to help me). Unfortunately, when I tried to click on your link, it gave me an "error 404" message. However, I'm sure you know what you're talking about and you could knock this problem out if you were in my shoes.
By the way, does everyone intentionally make their handles impossible to learn?