why it is not simple!
i just want to restrict input text to allow only number with 2 decimals
examples
22.44
10.55
6.00
55.72
how can i make it with actionscript 2.0
?
bless will raise on the helper!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Restrict the characters that can be entered into your text field to the numbers 0 to 9 and the decimal point:
Then add a listener function to the onChanged event, removing everything beyond two characters from the decimal point, or any second occurrence of “.”: