assets/js/validation.js
// Check if Some Field is Empty

Check if Some Field is Empty
Check if Some Field is Empty
function is_empty(field) {
  if (field.value == '') {
    return true;
  }
  return false;
}
function is_empty ( field ) { if ( field . value == '' ) { return true ; } return false ; }
Check if Some Field is Empty
Check if Some Field is Empty