PHP and Javascript Nooob

Associate
Joined
14 May 2012
Posts
390
Location
London
Hey guys,

I want to learn PHP and Javascript mainly for the purpose of being able to check form fields for newsletter sign ups and contact forms kinda thing.

What is the things I need to learn?

Currently using www.codecademy.com to learn Javascript and have learnt about prompt's. If/Else statements, Switches and Ternary operators but im not sure what it is i need to learn before i can start doing validation on forms?
 
There's not a great deal to JS form validation, take the inputs, apply rules, print error messages or allow the submission to continue..

That said, JS form validation should never be used alone. If it makes it past the JS then you should do server side validation before the input is used for anything. Think about the people without JS too.
 
yeah see I know people can get passed the javascript validation but its still needed for the input stage but I am aware i need server side validation just don't know where to start to learn php.
 
Back
Top Bottom