• Thursday , 16 November 2017

[Javascript] Form Validation

Code Canyon



In this video, I’ll show you how to validate a form with Javascript.

A Javascript validation isn’t secure, a server side (PHP) validation should be made too.

The code can be found here :

http://charnycoding.pastebin.com/4xekFznA

In this video, I’m using Dreamweaver Cs5 and Firefox.

Original source

3d Ocean

Related Posts

37 Comments

  1. UNLIMSES, UNLIMited SEcurity and Services
    September 13, 2017 at 22:12

    Great one, very Helpful…

  2. mahesh parmar
    September 13, 2017 at 22:12

    nice

  3. Sebastian Goin
    September 13, 2017 at 22:12

    great video, but i have a question i dont have installed php, i wont be able to run it well right?

  4. charles napo
    September 13, 2017 at 22:12

    Can't see anything..and you talk fast..slow down

  5. Roshan Shahukhal
    September 13, 2017 at 22:12

    Thank you so much for this video… !!!

  6. amarurecor
    September 13, 2017 at 22:12

    This is exactly what I needed, thank you very much!

  7. Jamie
    September 13, 2017 at 22:12

    A switch statement would be easier.

  8. Rr Velasco
    September 13, 2017 at 22:12

    thank you for sharing!

  9. winG Digan
    September 13, 2017 at 22:12

    Thanks alot pare! You've done great!

  10. Madhusudan Yadav
    September 13, 2017 at 22:12

    thanks dude…………..

  11. Elizabethetta21
    September 13, 2017 at 22:12

    Thanks heaps and your english is not bad at all…

  12. Ramya Kkt
    September 13, 2017 at 22:12

    NICE

  13. SDixit95
    September 13, 2017 at 22:12

    dafuq is a hay-d ?

  14. SDixit95
    September 13, 2017 at 22:12

    in-poot, lAAbl xD xD

  15. Kazim Abbas
    September 13, 2017 at 22:12

    thanks

  16. Sushovan Sarkar
    September 13, 2017 at 22:12

    Thank You! This was very helpful!

  17. Akhil vs
    September 13, 2017 at 22:12

    ozm man

  18. LordCarringtan
    September 13, 2017 at 22:12

    Perfect! Thank you so much!

  19. chetanbro
    September 13, 2017 at 22:12

    hey man thanx please make more.

  20. Kumar Mateti
    September 13, 2017 at 22:12

    very useful tut……….thanks

  21. Fabio Gubert
    September 13, 2017 at 22:12

    Thank you!

  22. Alper
    September 13, 2017 at 22:12

    Very good tutorial!

    Thank you!

  23. Ryan Waldron
    September 13, 2017 at 22:12

    It's Not Working

  24. Gershwin Mansin
    September 13, 2017 at 22:12

    have you tried to go fullscreen? if you still can't see maybe you should check your eyes.

  25. Abdullah Ahmed Kwenakgosi
    September 13, 2017 at 22:12

    I cant read a thing u wrote,next tym try to zoom when u type something

  26. RP88888
    September 13, 2017 at 22:12

    does anybody know how to close a page in javascript. in dreamweaver cs5.5 I have a promopt that comes up and if the field is invalid i want it to close the page im on, ive used document.close nad window.close and it does not close the page im on

  27. Simon Petersen
    September 13, 2017 at 22:12

    their is one great problem with your Jscript code, you need to be aware of that your using the global name space, that can make problems if you have more complicated programs!

  28. leoyt123
    September 13, 2017 at 22:12

    Thank you so much for this wonderful tutorial! Diggin' this! ;D

  29. GayBooi
    September 13, 2017 at 22:12

    cant read, cant understand your accent

  30. jack
    September 13, 2017 at 22:12

    regbefore=document.forms[0].elements[0].value.replace(/s+/gi,"")
    reg=new RegExp("jusTinbieber","gi").test(regbefore)
    if(reg==true && regbefore.length==12){window.alert("You are faggot"); }

  31. Mayur Jumani - Inhew
    September 13, 2017 at 22:12

    nice accent man…the heeedi of the laaable is……..:P
    but awesome explanation..understood everything….thanks 🙂

  32. Tinashe Makanda
    September 13, 2017 at 22:12

    This was helpful but please give tutorial on how to use external JS file, and how to validate multiple form Items.

  33. Andrej Ristevski
    September 13, 2017 at 22:12

    i cant read

  34. aliceinultraland
    September 13, 2017 at 22:12

    @TheJSBachMr Thanks for your comment. I got it all sorted actually… I did a full course on javascript programming that taught me everything i needed for form validation and a whole bunch more as well. tryimg to copy and paste other people's code just didn't work no matter what i did, or how many different versions I tried so i had to teach myself… which was a much better solution anyway. 🙂

  35. qwertyguy12345
    September 13, 2017 at 22:12

    Thanks, that was pretty good

  36. sajjadaslam3
    September 13, 2017 at 22:12

    I am Sajjad Student of IT.
    I am very happy to see your video.
    I learend from your video.
    I am from pakistan.Thanks.

  37. Ryan Antony
    September 13, 2017 at 22:12

    good job can u help me in java scipt

Leave A Comment

You must be logged in to post a comment.