How to restrict user to enter value in EditBox
<p>Actually i have an <code>EditBox</code> in which i allow user to enter numbers. But my question is how can i restrict the user to enter not more then three digit number before decimal point and not more that one digit after decimal point eg: 22.1, 333.3, 34..but if the user try to enter 6666.777 it will not allowed them to enter.</p>

<p>Please help me to solve this out. If possible with an example</p>
