Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (188)

Sign In or Sign Up now to post a comment!
  • James, great work. I seem to be having the following error however when set to my site.

    Fatal error: Call to undefined function: str_ireplace() in /homepages/12/d88179579/htdocs­/contact.php on line 62

    Any tips would be greatly appreciated.

    Cbot

  • @Cbotnyc Hello, this problem is not your fault. Your hosting company has your hosting plan on PHP4. You need to phone them and tell them to switch you over to PHP5 as you have a contact form running on shorthand PHP5 syntax. They will do this free of charge so don't worry about cost.

  • nevermind, i figured it out.

  • Hey James,

    Great tutorial! I'm making a contact form for my dads website with it. I only have one problem, though. So I put all the coding in the right spots when we were styling the boxes (around 18:00), and put the (;) after everything. It updates its self in design view, but when I go to look at it in the browser, there are no changes made. It looks like what it did when I just started. But it shows up in design view..and i tried refreshing, full refresh (ctrl+shift+r) and still nothing

  • Hi James,

    Thank you for your great tutorial!

    I wish to add a telephone section to the name, email and text already there, which does not need to be validated. If i do so, without adding a php section for it as I would not know how, will the form still work and send, including my new telephone section?

  • @SoundandVision2011 Yes it should still send the information in the form and will not try to validate it as it has not been asked to. Just put plain html.

  • Hello James,

    Great work man, thank you.

    Im trying to set up a web page but im not using dreamweaver but MS expression. Do you think this tut will work with this program?

    I have already a template for all the pages of my website and Im looking for a contact form to insert in this template. After you made this .html change for the .php, i do not know how to insert all this codes in my html template.

    Do you think you can help me out?

    Thanks again. Eder

  • One question, I'm on a mac and its works perfectly but when I preview in safari none of the changes in the styles sheet show up. Only in dreamweaver. How can I fix this?

  • @XxStealthCinemaxX your safari browser is not updating the cache. Press ctrl-shift + R to do a complete refresh. Just pressing refresh at the top of the browser does not do a complete refresh like ctrl shift R.

  • @XxStealthCinemaxX @DreamWeaverTutorial the reason they are not showing up could be because when you put in the "-moz-border-radius:20px; -moz-box-shadow:2px 2px 5px #999; -webkit-border-radius:20px; -webkit-shadow:2px 2px 5px #999;"

    code, you didn't put one in for safari.

    I am having the same problem, and I don't know how to fix this, because I am just a beginner.

  • AWESOME!!!! thank you very much.

  • Hey James, Brilliant tutorial. I had to integrate this form in my html contact page.Works fantastic. 2 questions though.

    1. I need to add a simple check box people can tick that informs me if they want to subscribe to a newsletter. How do I do this?

    2. Does this type of form stop auto form fillers or should I get a validate (number/letter pictures) to stop unwanted spam. Or is what you have done enough?

    Cheers in advance and I appreciate your time.

    Thanks a million.

    Elliott

  • @traction2010 Hello, just look for a check box form tutorial on the web or youtube and you wont need to run it through validation anyway. You could add a recaptcha but since I created this form I have not received one spam message to it.

  • Took me a full day, but helped so much! Thanks James. FYI - # is not pound, it is called hash (£ this is pound).

    Thanks again!

  • Hi james, many thanks for this tutorial. i have followed the steps directly and everything is fine.. until.... when i past the code from the 'head.txt' file into my html file.. everything goes pear shaped. i get a syntax error on line 76.. im soo confused! please help!

    thanks, Ordivian.

  • my form looked messy ,but i changed 200 to 1200 bingo the form looked very pretty indeed lol

    checked all browsers voila its all systems go from here thankyou my friend .

    heres how i corrected the issue

    #form .input { float:left; margin-right:1200px; width:auto;

    we should all now be happy chappys

  • @DreamWeaverTutorial

    Great Tutorial but your CSS in contact form only runs in CHROME. how to run this in OPERA or IE8 or MOZILLA?

    -moz-border-radius:20px;

    -moz-border-shadow:2px 2px 5px #999;

    -webkit-border-radius:20px;

    -webkit-box-shadow:2px 2px 5px #999;

    were not running to any of my browser. do you have any idea?

  • @phpmarky hello all modern browsers will not even need the moz or webkit declaration but they act as a fall back for earlier versions of firefox and chrome that need it. So simply declare at the top off all of the settings:

    border-radius:20px;

    border-shadow:2px 2px 5px #999;

    followed by the -moz and -webkit in your message above.

    for older versions of opera you will need to declare -o-border-radius etc etc.

    Only IE9 will be able to display radius / shadow etc and it will not work in IE8

  • Everything looks right in my "live view", but when I opens it up in Chrome It hasn't changed a thing... I don't know what to do, I have written everything...

  • Great video ... fast, very fast, but really good!!

    

  • (2/2)another thing I'd like to ask you has to do with the sender of the messages. In my old form the sender of the message was one of my email adresses... but now, it sends the message from the hosting email adress.

    i added the following to the code in the source file but it doesnt work:

    $MailFromAddress = "mail2@gmail.com";

    Please tell me how to set my own 'mail from adress'

    Thanks so much in advance!!!

  • Hi James...

    Sorry for bothering you with this... but I'm just a begginer and I need some help! First of all, thanks for your tutorials... they are great... very clear and helpful!! I've just finished the contact form, and it works great... but I need to make a change and I can't figure out how to do it.

    the thing is that my contact form opens in a new window... so, at the end, after the Thank you message, instead of redirecting to another page, I would like the window to close!

    (to be continued)

  • Why is Java in the title

  • @edarioq It's not my playlist.

  • Hi James ... First Of all " many thanks for this Video tutorial .. it is a Big Help ..i am a newbie in web design and i have a Little Problem .. I try to make your Contact Form ... Everything go as it have to go .. BUT !...at the moment i want to make the Text box bigger and no Scroll (selector .detail . Mess ) .. dream weaver don't change it .. even if i have the exact code in there . i did watch the video over and over but can't find any mistakes how do i solve this Problem .Thanks !!

  • @loetje28 the .mess css selector controls the height and width of the message text box. I cant quite understand what other things you want to change. could you please tell me a different way? thanks. Also if you have a link to the form online sol that I can look at you code. - James

  • @DreamWeaverTutorial Hi James ... I already did get it in the right way ... after Check check the codes ... everything did works OK now ....Thank you again .....

  • @loetje28 use overflow:hidden; to hide the scrollbar

  • Hi james.

    I have waited a couple of days now and my form will not send the info to my e mail address. I have tired different emails so i'm a bit stuck on what to do. I need to get the form up and running as soon as poss...

    Please help

    Cheers

  • @pilkster11 hi, you should receive the email instantly and at most 20 minutes so you have a problem. If you send me a PM with an email address then Ill email you a zip file with a fully working and completeed contact form. If it doesnt work after you test it then you will definately be able to say that the problem lies with you hosting company and the form handler on their server. Make sure you are on PHP5 as this form uses the most up to date PHP syntax.

  • The validation wont work for me, i copied the code into the correct boxes but when i try this on the web, it just deletes the name field and email field saying for a valid name/email... Somebody help me

  • @Morganhesketh hi, send me a link to the form - James

  • @DreamWeaverTutorial I Found the problem i didnt change the ID of the email part from fullname to email, take a look here of the final result: testsite1200(.)com(/)contact.p­hp

  • great tutorial. what software did you use for making this tutorial? nice effect.

    To all those who know kindly respond me. Thank you

  • i spoke prematurely i have got it working but i have included a rest button it cleaers the tiext are and the email fields but not the name any suggestions?

  • Hello James, Thanks for this i managed to follow the tutorial as best as i the error i'm getting is the textfield area thinks that i have not included a message when i have and of course wont let me proceed beyond that point. Any ideas?

  • Greeting James;

    Tell me, how do I get the download files for the form tutorials?

  • @tbunkyford hello, you need winzip or winRar or 7zip etc. These are free. I use winrar myself so just do a google search. Download and unpack the files to your desktop.

  • @DreamWeaverTutorial Hello, i'm following your tutorial and i've come across a snag, whilst doing the .label bit in CSS the font-family and font-weight isn't working for me, i'm using Notepad++. Other then that, amazing tutorial! Thanks for speeding up my CSS learning!

  • @DreamWeaverTutorial Hi James, Thanks for the quick respond. My contact page address is betty-zhang . com / contact . php , would be great if you could drop by have a look for me, Thanks a lot. Regards, Betty

  • @bettyzzzzzzzz Good morning, I took a look at your form and the redirection mark-up has the word function spelt 'founction' so just make it say 'function' and then I think that should fix your problems. Well done on completing the tutorial, it's looking good. - James

  • @DreamWeaverTutorial Omg, My silly spelling mistake!! James, THANK YOU SO MUCH for taking time to check my form and helping me fix the problem. You are definitely the best tutorial guy on here!! Hope you having a wonderful day! Best regards, Betty

  • Hi James, your detailed tutorial is very helpful and the form works perfectly on my website , Thank you very much!! There is one little problem wonder if you could kindly help me, It wouldn't redirect to my website after the form has been send (I did exact as you told in tutorial). Regards,Betty

  • @bettyzzzzzzzz hi, please send me a link to your contact page.

  • @DreamWeaverTutorial  Hi James, I'm building Chinese version of contact form for my website at moment (based on the last one you taught me), I have set the contact form redirect to chinese folio page, but it kept going back to english one. :p,,, Could you PLEASE kindly give me some tips on fixing it. Thanks a lot. Betty (BETTY-ZHANG . com/contact-cn.php)

  • wow i fail.. 13:27 i only had 2 :(

  • how do you get you text to go gray?

  • hey man, thank you very much for making this video, it helped me out alot :)

    I am very pleased with the results, you should take a look at mine :)

    KARLTHEPRO.COM

    Oh and one more thing, for the form, would there be a way so that each different ip can send only a max of 5 per day, and is there a way to set a max character limit, lets say I just want so they can only use 300 characters per message, thanks in advance! :D

  • Really helped to clarify what I've learned so far self tutoring myself, I'm sure this will give me an edge at university next year, thanks very much!!

  • James show as in next video how to make register page in dreamweaver + login page

  • Hi James, thanks for a fantastic tutorial. I built my form exactly as per your instructions and it works great. Now I don't know how to incorporate this PHP/html page as part of my website where I have a menu item called "Contact Us". Can you give me a hint how to do this please.

  • Thank you so very much for the tutorial. I have learned a lot from it and had to watch it a few times because of some silly typos I made messing up my code. But thank you for taking the painstaking efforts of making a vid like this! I am adding this to my library and look forward to any future tutorials you may have posted.

  • Hello sir, how do you actually create a validation form to a customized graphic.

    Example: I created my own login and password graphic through photoshop and I sliced the area I wanted validated and sent the html to dreamwever.

    How do I make that area/ or how do I animate that area so that text can process?

  • Is it a good idea to add ReCptcha to this form? Or is it unnecessary?

  • Are you neil from the inbetweeners

  • @tlf115 I am if you are a bus wanker who gets no clunge.

  • Great video, followed it exactly, but I'm getting the same error as keeezz of "Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing ". No idea what this means. Help? Thanks.

  • Hey James, quick Q... After loading the form to my website and testing it, when I went back to continue editing the validation messages I got a message saying "Contactform.css is not on the local disk. Get?" Then it said it was unable to get because it was not on the remote server... I tediously followed your video, so Im not sure exactly what happened...Please help.

  • Can the form be using smtp authentication and if how can it be modified?

  • hello James very good job  well done . but i just wondering why the sending email not working any idea please????thanks

  • oops....sry wrong comment to page.

  • why is this error

  • Hi James, i was wondering, is it possible to actually have the script automatically send whatever the recipient has typed to themselves? As i am actually creating a order form, i will be playing around with your codes a little and might need some help! Thanks and i hope you wouldn't mind! :)

  • This is a very helpful tutorial! Thank you for the post!

  • thank you for this! love the step by step guide! x

  • cool beans

  • cool

  • "sendmail_from" not set in php.ini or custom "From:" header missing ---

    getting that error I tried everything dnt kno wat else to do..Ive change the setting in the php.ini file...sigh!!!

  • @keeezz why are you doing anything to your php.ini file? The form runs on PHP5 anyway so you're wasting your time. The form needs to be online. If you are working on it offline then you are not doing what i explicitly said to do in the tutorial which was to do everthing EXACTLY as I do it. get it online and send me a link.

  • @DreamWeaverTutorial Thanks Much the mistake was all on my part. Will get u the link soon.

  • Does this need sql or is it client server code...

  • @pacollege123 No SQL because its a contact form.

  • I've been looking for tutorial on how to make one of these all day. Thank you so much for this well produced and articulate tutorial, I'm subscribing now

  • Im doing this right now and im following your instructions to the letter and everything is comin up squished? what do i do?

  • @kyroskata email me your html form and css. ill send you the email address

  • Doing everything you said.. Even checked it 3 times, but I have everything the same as you, but from the #form .row, padding: 24px 0px, it's not refreshing anymore.. or well.. it's refreshing, but no changes are made in the design view or the preview. Restarted dreamweaver AND my computer but still nothing.. help?

  • @justmii2u The row CSS wasn't attached to the row div's.. so now I did that it changed in the design view, but still nothing in the preview or multiscreen.. Usually when the preview doesn't update it does update in the multiscreen.. what's wrong with my dreamweaver?

  • Greate Teacher!

  • Im about to pull my hair im so lost now! I messaged you

  • Hi James I cannot download the form validation folder. Could you please help!!!

    Thanks Harjinder Green

  • Hi James

    Firstly thanks for creating such a amazing video. I am having difficulties downloading the validation folder. Whever I try to download it I get validation.rar one page but not a folder. I have tried it on google grome and firefox it still would not allo me to download it. I need it urgently as I have a college project to complete by Thrusday could you please email me the folder on sim43ran@live.co.uk, so that I can complete the form.

    Thanks your a star!!!!!

    Harjinder Gree

  • Hi James, Excellent video, thank you. I am having a problem with my 'message validation' though, I cannot get it to work. I am entering a message and when I select 'send', the text field goes blank and I get the 'error message', my name and email validation work fine.Can you please help me or point me in the right direction of where I am going wrong. Many Thanks - Kerin

  • @kerinrichardson Hi Kerin, please send me a PM with the link to the contact form. - James

  • Im doing this dreamweaver stuff next year in school so i wanna get a head start!!

  • Hi,

    Firstly great video however I have a problem..

    When I click send with all fields filled in I get this error message:

    "Warning: mail() [function.mail]: "sendmail_from" not set in php.ini or custom "From:" header missing in contact.php on line 51"

    If you could help it would be much appreciated.

    Thanks, Mitch

  • @zwemg hi mitch pls send me a private link to the form on your site. - James

  • Brilliant! Works like a dream.

  • Great tutorial, can't wait to work on this and make personalise it, thanks a lot :)

  • Herro :D

  • This is the really best tutorials of all, James.

  • Great contact form tutorial James

  • Thanks very much for this tutorial, all your videos are very helpful James!

  • this is really good  dreamweaver Tuts James

  • Brilliant video as always James! Keep up the good work!

  • OMG one of the best; good job james

  • OMG one of the best; good job james

  • OMG one of the best; good job james

  • Excellent tutorial James.

  • another really useful tutorial, thank you james!!

  • thanks for the great tutorial, i have one question u may answer.

    -moz-border-radius

    and

    -webkit-border-radius

    neither of them are working on Internet Explorer but other browsers. what is the solution for that.

    i also want round radius on IE too.

    Thanks

  • Fantasmagraphic tutorial James!

  • this is a good one james

  • I am so grateful for this. I needed all the extra help I can get. Fantastic job with your dreamweaver contact form tutorial, James!

  • it is perfect james! in the future you will maby as femous as tinkernut! succes with the res of your video's!

  • Thanks for the tutorial, very informative James!

  • very helpful tutorial James!

  • Very concise and competent tutorial, unlike much that is out there. The 2nd step PHP validation is something so many other tutorials gloss over - well done James (and I'm not just sayin' that for the DVD prize... at least not mostly ;) )

    I've been watching your Dreamweaver usage in this tutorial as well, and am learning so much that I never knew about.

  • @arniej hello Arn, you have 2 entries into the Dreamweaver CS5 DVD Giveaway. I would have left a message on your channel but you don't have a comments box there! - James

  • @arniej 1 other thing Arn, I don't have a record that you have subscribed to my channel, can you unlock your subscription box on your channel? - James

  • Great Dreamweaver Tutorial James

  • You should not end "input" tags with "/ >" in html. The "/ >" style is for "xml" NOT "html".

  • @otur1 absolute rubbish. they are self closing tags and you cannot close them any other way.

  • @DreamWeaverTutorial

    The INPUT element

    For XHTML; Start tag: required, End tag: required

    For HTML; Start tag: required, End tag: forbidden

    w3.org/TR/html4/interact/forms­.html#h-17.4

    You are using XHTML, my mistake sorry.

  • @otur1 Learn HTML before talking >_>

  • James, keep em coming! Your spot on with your training techniques, people will be hard pressed to find better. I'll be here eather I win or not, coz these tuts are very awesome. Shelley

  • Great Dreamweaver tutorial, James.

  • Greate tutorial well explained and nicely layed out thanks again james

  • THANK YOU so much for this. I have been searching all morning for something like this and have came across tutorials that are filled with errors and are hard to understand. THANKS for taking the time to create this video and upload it! Will be subscribing! -Mike, Wisconsin, USA

  • @LilMikeRomans116 Thanks for the comment Mike ;)

  • Great tutorial. But why not assign arial to the body tag? Lot less typing.

  • Thanks man. Your tutorials will help me on my website I'm creating.

  • I'll be studying this tomorrow or something. This is kind of going to be a preparation for me for my college (Web development)! I've subbed already, I've heard you're very profesional and the first 3 minutes of the video are proving that.

  • @Wiejeben Great! this channel was made to support college students. Thanks for the comment - James

  • your the master of Coding - James

  • Your tutorials really teached how to design a webpage. Thank You so much that you are Here - James

  • Great tute James. A very useful extra tool for a professional website.

  • @deepblueportfolios Thank you for your comment - James

  • Great tutorial, just in time as I experienced difficulties with creating some professional contact form, amazing tutorials James, thanks for them

  • Good Job James - Keep it up!!

  • James I love your tutorials, they helped me get into the business of web design, and I am in the process of registering my company with the corporation commission. You changed my life!

  • @devbryce Good to hear from you Dev and thanks for your nice comment. 2 entries to the giveaway and I left a message to confirm on your channel - James

  • Thanks for another great tutorial James

  • All the best with your giveaway James, hope someone deserving gets it. Mike

  • @TheWebtuts thanks Mike

  • best contact form tutorial because it actually works!! :) Thanks James

  • This is a good contact form tutorial for beginner !

    Explain clearly ! Good job James really cute

  • gr8 tutorial JAMES!!

  • James, you and your fantastic tutorials get an A+++e.5000 (an A-triple-plus times ten to the five thousandth power) .... Just saying, they're really helpful, practical, well produced, and not jam packed with gimmicky stuff. You've helped me out a lot in the past and I look forward to more great stuff from you in the future!! THANK YOU JAMES!!!

  • Great Dreamwevaer tutorial James!

  • oh my god this was a fantastic tutorial, most stupendous JAMES.

  • James this is great dreamweaver tutorial

  • James, James, James! I'm not going to participate in your giveaway, I hope someone that is new with DreamWeaver will get it and improves his skills. I just wanted to say that I'm really happy with your videos. I watch them all, even those which cover a subject I allready understand.

    Thanks for all your effort and keep up the good work!

  • @sacrome thank you for your comment Sacrome :)

  • Great video, James!

  • This is the first tutorial I find helpful and nice looking, thank you james!

  • Comment removed

  • I subscribed to you yesterday, been watching your tutorial's, all I have to say is thank you! I've learnt more html and css in just less than 24 hours than my cousin did at a 3 year Uni course. Thank you James!

  • great dreamweaver tutorial james

  • Hi there

    Firstly, GREAT tutorial - thank you.

    I can't get the -moz-border-radius etc part working in IE8. Its hows great in Firefox but typicfally not in IE8. Do you know if I need to add any special tags or info in the head section to make it work for IE8?

  • @Pileyrei -moz is for mozilla firefox. -webkit is for chrome and safari. IE6-IE8 is not able to rounded corners without javascript. try CSS3PIE . com to acheive that.

  • @DreamWeaverTutorial

    Understood. Thank you very much for the reply and a great tutorial.

  • @Pileyrei Hi Microsoft are apparently working with w3c to bring this functionality. Its supposed to be working but as yet I have not see it work. Anyway the code is slightly different for MS so if you want radius in IE you put border-radius and then where you want the radius so if you want it on the left you would put border-radius-left: 10px; - hope that helps but as I said it does not appear to be working at the mo.

  • @TheWebtuts

    Thanks for the information and explanation. Good old IE eh?! :)

  • Sweet tutorial. Did it in about an hour too. I love how you name exactly what you're actually typing like "We're going to set the width to 18px" So i can just type as i'm listening to you instead of watching you type and try to memorise, pausing the vid then going back to Dreamweaver and entering the codes.

    Thx alot man. Off to Part 2 now

  • YAY!!@! I succeeded with no mistakes :)

    it took about an hour lol

  • @TheFreeze101 that's great! well done.

  • Hi there James, just signed up at your site....

    Fantastic tutorial bud, I have just been learning Dreamweaver CS5 and I have followed your lesson step by step, but I have have one problem. After going through the css mine looks different to yours, I have 7 css but the first one body and the color code of E9E9E9 mine seem to be the opposite to yours, lol, the darker part is the small areas.

  • @smudger1767 I may have used a different border colour and a few other settings to record the page for the tutorial so that it would contrast better in the footage. Can you explain what you want in a different way because I don't know what the small areas are or what the darker part is :). If you also sent me a link to my personal inbox that would help. - James

  • @DreamWeaverTutorial

    Hi james,

    Thanks for the reply, I have taken some screen shots of where Im upto sofar but where do I attach them, do you have an email address?

  • @smudger1767 I sent the email address to your inbox. - James

  • Hi James, thanks a lot for this tutorial ! I really appreciate your tutorial because I'm starting my own website and I didn't know how to make my registration page !

    Keep doing tutorial, you're doing a great job !

  • Hey James, I really like this tutorial and I'm planning on using it on my website.

    I have a question for you;

    Can you make a tutorial like this for things like registration forms? I'm currently working on a user-based website and I can't figure out how to make the forms deny special characters and validate email adresses in a way that people can't bypass the validation.