Hi
I am having a form whose fields i can validate without any issues. I
need to have an option of reset.
In my reset, i have
private function reset():void
{
nameValidator.enabled= false;
name.text='';
nameValidator.enabled= true;
}
This works fine when the user has input some text in name field and
then resets it. But when user clicks reset without having entered in
textinput, it shows the red outline with the error message on that
field. I have pasted code above for just one field, obviously I have
many other fields in the form.
Please advise how to successfully reset form, no matter if the user
has input text in field or not.
Regards
Husain