Home Tutorials Forums Articles Blogs Movies Library Employment Press
Prev Previous Post   Next Post Next
Old 11-01-2007, 02:54 PM   #1
Registered User
Join Date: Nov 2007
Posts: 12
Default TextInput control

I have a TextInput box for a user to enter a number of the format XXXX.XXX

The user enters both the decimal point and the numbers (0-9). The largest the number can get is 9999.999. Is there any way in which I can put a restriction on this TextInput box for the parameters I listed above (users can't enter more than four numbers before the decimal point and no more than three numbers after inputting a decimal point)?

I've tried manipulating a few things (ie, restrict, maxChars, etc) but I can't find anything that works. I am stuck between a rock and a hard place.

Other ideas are welcomed as long as I get the format above!


Last edited by JoeDeveloper; 11-01-2007 at 03:22 PM.
JoeDeveloper is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
changing input key, keypress in textInput orhanori ActionScript 2.0 0 07-17-2006 11:22 PM
Move cursor to end of TextInput control MorningZ ActionScript 2.0 1 09-21-2005 10:54 AM
problems with textInput component and keyPress <enter> Col. Ostomy ActionScript 2.0 0 06-17-2005 01:49 PM
:: | Control Main timeline from within a Movieclip | :: ox4dboy ActionScript 1.0 (and below) 2 03-22-2004 10:53 AM
how to avoid unwanted control points added to custom shapes? titooner Other Flash General Questions 0 12-10-2003 02:56 PM

All times are GMT. The time now is 09:05 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.