I have a requirement, if the first field having validation error, then the system should not allow us to go to next field in the screen. the cursor position should be hold in the same field.
Please provide me the solution to achieve this, with Java Script/Ajax/JSF.
In my last query, experts are advised me to use PhaseListener, but it showing validation errors, but it is not restricting, it is allowing to go to next field.
kindly help me.
Thanks a lot for your suggestion.