In occasions we needed to define links to activate the focus over a form's element, for example during the form validation, when we show up the errors at the beginning of the form during the submit process, would be useful if we can define links to each wrong field in the form, activating the focus over the element that contains the error, and this way making easy the form's errors correction. Another example of the such like functionality use would be to utilize references direct to the identification field when we do reference to the login form before enter into certain pages.
We must include the Yahoo Library and the basic bubble for utilize this functionality:
We must define this behavior directly to the default behavior list for the Navigate's Bubble:
After the initialization of the bubble and the behavior definition we can define any link related with a form element. The REL attribute of the link must be equal to the ID attribute of the element that we want reference:
We can define more than one link to the same element. See an example of the use of this functionality through this link.







