client/components/login/login.js
// Checks if user input is valid.
Checks if user input is valid.
Checks if user input is valid .
function isValid(){
  return $('#first-name').val().length > 0 &&
         $('#last-name').val().length > 0 &&
         $('#track-selection').dropdown('get value').length > 0;
}
function isValid ( ) { return $ ( '#first-name' ) . val ( ) . length > 0 && $ ( '#last-name' ) . val ( ) . length > 0 && $ ( '#track-selection' ) . dropdown ( 'get value' ) . length > 0 ; }
Checks if user input is valid.
Checks if user input is valid .