I use a custom form validation on a form.
When i use the form for the first time my name input field
has no red line.
when i cancel the form and i reopen the form, my name input
field has a red line around it.
I guess my problem is that my custom validation needs to be
reset, so my question:
It turned out to be a simple fix.
lets say you have an input field for a username with the id
when you reset the form and clear all the fields you do the
When you have an validation error on one of your input
fields.. the input field keeps a red border.
So to reset that you do the following:
The only thing i experienced was when i call a resetfocus
function. the red border stays around my input field.
private function resetFocus():void