RE: [flexcoders] setting focus back to component that fails validation?

2005-09-10 Thread Matt Chotin
From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of cruegger2000 Sent: Thursday, September 08, 2005 12:43 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] setting focus back to component that fails validation? I create a form dynamically and need

[flexcoders] setting focus back to component that fails validation?

2005-09-08 Thread cruegger2000
I create a form dynamically and need to do my data validations within ActionScript code. I generate a TextInput component that must be numeric. What I'd like to have happen is that if the user enters non-numeric data, I issue an alert; when the user clicks ok, the focus goes back to the TextInput