Skip to content Skip to sidebar Skip to footer

How To Get Focus On Edit Box While Validating User Validation?

I need to get focus on editbox that is required? when i click on save button i set hint this field required but focus still remains in previous editbox what I need is to get focus

Solution 1:

add

.requestFocus()

on the required field

Post a Comment for "How To Get Focus On Edit Box While Validating User Validation?"