You can use the errorPlacement-option to customize the placement. Take
a look at the source of this demo for a good example:
http://jquery.bassistance.de/validate/demo/milk/

Jörn

On Wed, May 13, 2009 at 2:30 AM, wjs3 <wjstarrs...@gmail.com> wrote:
>
> I have a form consisting mainly of text inputs and selects.  The
> inputs are nested within list elements, lists, fieldsets, etc.  I have
> configured the validation plugin to place the error messages after the
> fields, and successfully used CSS to style the label.error class.
>
> I have recently added a reCAPTCHA image to the form.  I would like to
> validate that this field is also not empty before allowing a submit.
> The reCAPTCHA input however is buried within a td/table/div, so the
> error message gets crammed into the td with the input and is barely
> visible.
>
> I thought of going into the module and adding some code around the
> showLabel function to test if the field being referenced is the
> recaptcha_response_field.  If so, I would conditionally assign a
> unique class to this label so I could try and use CSS to place it
> elsewhere.
>
> I am by no means a javascript expert and am not sure how to do this
> properly in the code.  Any assistance would be much appreciated.
> Perhaps there is a better way to tackle this as well.
>
> Thanks in advance,
>
> wjs3
>

Reply via email to