input product validator