1
0
-1

Hello Team,


I have two password fields with help text, when click he tab from first field the control moving to second help text field, But i nee that control to be moved to second password field.


Thanks

Suren





    CommentAdd your comment...

    1 answer

    1.  
      2
      1
      0

      Hi,

      Technically, this is possible, but there will be some adverse affects on accessibility, so you will need to be very careful using this in a production form.  There might also be some browser compatibility issues, so it will need thorough testing.

      You can add this code in a Focus rule on your second password field which will set the focus to its own input element:

      $('#'+item.id).focus();

      I would suggest you speak to your UX team to see if you can come up with a better resolution, such as combining both help texts and placing the combined help only on the first field.

      1. surendarvel

        Thanks Bill,

        Its working fine but at the same time the popover text also displaying. we need like the popover shouldn't display when the control moving from first field to second filed. please help on the solution

        Thanks

        Suren

      2. Bill Frost

        Hi Suren,

        I'm not seeing that behavior on my test form, on Edge, IE, Chrome and FireFox.  Can you attach a video capture showing what you are seeing please?

      CommentAdd your comment...