Guard the input from having a blank or undefined value set