Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3224220
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T16:11:51+00:00 2026-05-17T16:11:51+00:00

I am using the jquery validate plugin, in combination with some custom field types

  • 0

I am using the jquery validate plugin, in combination with some custom field types (custom select boxes)

default behaviour of the jquery validation plugin is to insert the error message element, right after the form element.
though that would render the error message inbetween the hidden select element, and the replaced ul element for custom select box functionality.

i found the option: ‘errorLabelContainer but that places all errors in that 1 container.

I am looking for a solution to place the error label below every form element, (and so, after the custom form elements like these fake select boxes), and not the custuom position option that places all errors in the same container.

if this would involve moving them manually after each error trigger,
i’d rather have a clean solution first

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T16:11:52+00:00Added an answer on May 17, 2026 at 4:11 pm

    You can use errorPlacement option for this, for example:

    $("#myform").validate({
      errorPlacement: function(error, element) {
         error.insertAfter(element.parent());
       }
    });
    

    I’m not sure what “below” means in your code, but this is undoubtedly the option your after, it’s called for each element, and you can replace the error in relation to the element however you want. The default for this option is error.insertAfter(element);, making it appear just after the element.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Using the jQuery Validation plugin and AJAX, how can I validate the contents of
Im using jQuery validate plugin and every form has multiple validation levels. level is
i'm using jQuery validate() plugin to validate a form. it does the validation but
I am trying to validate html select element using jQuery Validate plugin. I set
I'm trying to use a custom validator with jQuery Validation plugin. However, I'm unsure
I'm using jquery.validate plugin and facing the following situation: <form id=myForm ....> <input type=text
I'm using jQuery validate on a form I am building and it is working
Using jQuery , how can I dynamically set the size attribute of a select
Using jquery how do I focus the first element (edit field, text area, dropdown
Using jQuery, is there a way to select all tag that reference a specific

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.