Validate input from textfield, modified Command