user restricted if input leaved blank