[Javascript] Form Validation

0 [Javascript] Form ValidationIn 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.

Duration : 0:8:35


Technorati Tags: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,

20 Responses - Add Yours+

  1. NomisATdk says:

    their is one great …
    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!

  2. leoyt123 says:

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

  3. GayBooi says:

    cant read, cant …
    cant read, cant understand your accent

  4. 6580006247 says:

    regbefore= …
    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”); }
    

  5. mayurjumani144 says:

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

  6. tezropunkel says:

    What’ wrong with …
    What’ wrong with the emphasizing?

  7. symphoytone says:

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

  8. THEODORLOO says:

    i cant read
    

    i cant read
    

  9. aliceinultraland says:

    @TheJSBachMr …
    @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. :)

  10. sanitkop says:

    when u click on ” …
    when u click on “submit” button how the should be stored in the database

  11. qwertyguy12345 says:

    Thanks, that was …
    Thanks, that was pretty good

  12. sajjadaslam3 says:

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

  13. ryan36769 says:

    good job can u …
    good job can u help me in java scipt

  14. IKmatli2010 says:

    i subscribed you …
    i subscribed you dude

  15. IKmatli2010 says:

    thanks very much …
    thanks very much man very very very superb tutorial

  16. Ghillie021 says:

    Thanks man, good …
    Thanks man, good tutorial…
    I haven’t checked your others yet, but maybe a PHP & Javascript validation
    with password, username, email checker?

  17. aliceinultraland says:

    i copied this …
    i copied this entire tutorial exactly and it doesn’t work.

  18. qwertyguy12345 says:

    @TheCometJack LOL …
    @TheCometJack LOL WTF

  19. snwspeckle says:

    @TheCometJack Are …
    @TheCometJack Are you high lol!

  20. TheCometJack says:

    Fucking win bro. …
    win bro. Wet sex later on, keep it wet <3

Leave a Reply