Yes, it does. And for implementing, it would help a lot to have a
simple demo that has the right layout for the animations to work.

Jörn

On Wed, Feb 18, 2009 at 9:40 AM, Kelvin Luck <kelvin.l...@gmail.com> wrote:
>
> Hi Jörn,
>
> Thanks for the reply :)
>
> I know using the errorPlacement is a bad workaround but I couldn't
> figure out another way to do it.
>
> Basically what I would like is for each error to slideDown when it is
> shown and to slideUp when it is hidden. When I looked through the
> code, it seemed like highlight and unhighlight were passed a reference
> to the actual field which was invalid (rather than it's associated
> error message) so I wasn't sure I could use those...
>
> My idea was that rather than calling hide() and show() on the error
> messages directly you could instead have settings which would by
> default point to those functions but which the user could override.
> Does that make sense?
>
> Cheers,
>
> Kelvin :)
>
> On Wed, Feb 18, 2009 at 12:30 AM, Jörn Zaefferer
> <joern.zaeffe...@googlemail.com> wrote:
>>
>> Hi Kelvin,
>>
>> using errorPlacement is a really bad workaround, as its called only
>> once per error. After using errorPlacement to add the error-label to
>> the DOM, it isn't called again.
>>
>> A better workaround would use the highlight and unhighlight options.
>>
>> Could you provide a simple demo that shows the behaviour you'd like to
>> achieve? Just some jQuery code that animates some label, with the
>> necessary markup and CSS. That would be a good starting point for me
>> to work on a solution.
>>
>> Jörn
>>
>> On Tue, Feb 17, 2009 at 11:32 PM, Kelvin Luck <kelvin.l...@gmail.com> wrote:
>>>
>>> Hi,
>>>
>>> I've just used the validate plugin for the first time and it works
>>> great :) One extra thing I would love to see is some sort of hooks
>>> which allow the user to customise how the error messages appear and
>>> disappear. I managed to hack it in for appearing messages using the
>>> errorPlacement function but I couldn't find a way to animate the
>>> disappearing error messages.
>>>
>>> More information, an example and some code here:
>>>
>>> http://www.kelvinluck.com/2009/02/progressive-enhancement-with-jquery-example/
>>>
>>> Would this be something you would consider adding into the plugin?
>>>
>>> Thanks,
>>>
>>> Kelvin :)
>>>
>>> p.s. sorry if this has already been discussed - I haven't been able to
>>> keep up with the volume on this list for a looooooooooong time!
>>> p.p.s. sorry if this comes through twice - I sent it from the wrong
>>> email address first time...
>>>
>>
>

Reply via email to