-
-
Save thams017/0706ae8151501519eb69 to your computer and use it in GitHub Desktop.
FormValidation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function checkAll () { | |
var resFName = checkFName(); | |
var resLName = checkLName(); | |
var resAge = checkAge(); | |
if ( resFName === true && resLName === true && resAge === true ) | |
{ | |
alert( "Valid Inputs" ); | |
} | |
else | |
{ | |
alert ( "Check your Inputs" ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment