numeric input can be empty string
use equal instead of in