Use the textInput event to see if there is already a '.' and call preventDefault
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Saturday, March 22, 2008 8:32 AM To: [email protected] Subject: [flexcoders] NUmeric Only Textfield I have a text field which accepts only real data that is number and decimal point (.) i have set restrict propety as restrict="0-9\." for text input but it accepts more than one decimal point can u teel me how to solve this problem with minimum code thanks in advance Parkash Arjan

