Hi there,

I'm using Validate on my website, but i'm having difficulties with the
errorPlacement.

In simple a part of my form looks like this:

        <label for="email">E-mail</label><div class="warn">*</div>
        <input type="text" name="email" id="email" />

Validation works fine, but i can't get the message to display inside
'<div class="warn">*</div>'.

The following places the text immediatly before the element:

        errorPlacement: function(error, element) {
            error.insertBefore(element);
        }

Any help would be greatly appreciated.

Greetings Knal.

Reply via email to