Is it possible to re-set focus to an object after a validation (pattern) error? I don't want the user being able to exit an object when there is a validation error.
The problem isn't to set focus to the control but to set focus after the pattern validation. Is there any way to determine if the pattern validation errors and then set focus?
As it is now, a dialog shows and says "Your postalcode must be 5 digits" and then the cursor jumps to the next textfield. I want the cursor to return to the control that didn't verify correctly.