[jQuery] [tooltip] How to display validation error messages in a tooltip? JORN

[jQuery] [tooltip] How to display validation error messages in a tooltip? JORN


Jorn,
Back in April of 2007 you had a discussion on your comments section
for your ToolTip Plugin, here's a quote of that conversation.
____________________________________________________________________
OSCAR 24. April 2007 |10:55 Add tooltip to validation.
It is posible to add a tooltip in order toshow the “error message” of
a validation.
My Problem:
I have a form very big for that reason I only can put a “*” if a
input
validation fails. I would like to add a tooltip with the info about
the error.
I don’t know if I could integrate your tooltip & validation plugins.
Thanks in advanced.
Jörn 24. April 2007 |17:27 @Oscar: Provide the showErrors option.
Put
only the star beneath the field and the error message inside the
title
attribute of the input. Modify the tooltip plugin: The check if an
element has a title attribute has to be done when the tooltip is
displayed, not when applying the plugin.
I’ll try to provide an example with the necessary tooltip
modifications, but it may take a while.
OSCAR 24. April 2007 |18:16 Great!!! I will try to do it.
OSCAR 25. April 2007 |09:34 Maybe could be nice to provide tootip
message optin into validation with a new param:
rules
messages
TOOTIPS
Ii will be nice in order to mantain separatlly view & controller, if
we put tooltip text into the title we are mixing view & controller.
It
is hçjust an idea!
Jörn 25. April 2007 |18:46 @Oscar: Adding a tooltip option to
validation is an interesting approach, I’ll check that.
I don’t see an issue with putting messages into the title attribute.
____________________________________________________________________
My question is, did you ever get in further with that idea? I would
like to display my error messages in a tooltip as well. Please let me
know.
Thanks,
Ken