Hi.
I've a form who's creation time is very long (complete dynamically).
With this form I want to edit several datasets. If one dataset doesn't
validate correctly and I want to edit another, or, let's say, create a
new dataset (with empty values!) I don't want to have that any
TextInput has a red border.
I want to validate a "new" dataset when the "save" button is clicked.

Do you understand?

Thanks,
Fritz


--- In flexcoders@yahoogroups.com, "maunger" <[EMAIL PROTECTED]> wrote:
>
> Hey Fritz, what's the 'timing' on this?
> 
> I mean, under what conditions do you want to disable the validation?
> 
> Mitch
> 
> --- In flexcoders@yahoogroups.com, "fritzdimmel" <fritz.dimmel@> wrote:
> >
> > Hi!
> > I've a form with many controls (TextInputs, ...) to validate.
> > Everything works fine but I can't figure out, how to accomplish this:
> > I have, let's say, a TextInput, and the validation for this returns
> > false. The textinput gets a red border.
> > Now I want to have a possibility to disable the validator temporarliy.
> > So that the red border disappears until I'm re-enabling the validator.
> > 
> > How can I do this?
> > By setting Validator.enabled to false the red border (+ the error
> > message) still exists.
> > 
> > Thanks for any hints!
> > 
> > Fritz
> >
>


Reply via email to