Skip to content

Instantly share code, notes, and snippets.

@thams017
Last active March 4, 2016 05:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save thams017/0706ae8151501519eb69 to your computer and use it in GitHub Desktop.
Save thams017/0706ae8151501519eb69 to your computer and use it in GitHub Desktop.
FormValidation
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