trim the input value and check it's length for more then 1 chars