On 7/5/05, Nithya R <[EMAIL PROTECTED]> wrote:

>    i need to use 2 validations for a sinlge validator. i have to first check
> if the value enterd is a number or not then i have to check if the number
> enterde is all 0000. how to do this? pls help me with some sample code.. 

http://livedocs.macromedia.com/flex/15/asdocs_en/mx/validators/NumberValidator.html
http://livedocs.macromedia.com/flex/15/asdocs_en/mx/validators/StringValidator.html

I think you want to use a NumberValidator and set minValue to 1.  You
could also use a NumericStepper.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to