enhanced input validator to allow multiple validators of the same type