Chap 17- js and php validation