How to allow inputs of minimum 6?