Avatar

Level 3

I have a text field which user can enter a number value. But the entered value cannot be less than 3. How can I do that?