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

  • SEARCH
  • Home
  • 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 6211703
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:23:04+00:00 2026-05-24T06:23:04+00:00

I have a form that i am validating using jquery the validation plugin. What

  • 0

I have a form that i am validating using jquery the validation plugin. What im trying to do is to have the errors displayed in a seperate div called “error” could anybody help me with this?

The form code is here:

<form name="contactform" id="contactform" method="post" action="/contactform/send_form_email.php">

           <label for="your_name">YOUR NAME</label>
           <input type="text" name="your_name" id="your_name" class="fulltext"/>

           <label for="type">TYPE OF EVENT</label>
           <input type="text" name="type" id="type" class="fulltext"/>

           <label for="guests">GUESTS</label>
           <input type="text" name="guests" id="guests" class="shorttext"/>

           <label for="date">DATE</label>
           <input type="text"  name="date" id="date" class="shorttext"/>

           <label for="phone">PHONE</label>
           <input type="text"  name="phone" id="phone" class="shorttext"/>

           <label for="email">ENTER EMAIL ADDRESS</label>
           <input type="text" value="ENTER EMAIL ADDRESS" name="email" id="email" class="fulltext"/>
           <button type="submit" value="submit">go</button>
           </form>

and the JavaScript is here:

    rules: {
     email: { required: true, email: true,  maxlength: 50 },
     honeypot: { maxlength: 0 }
    }
  });

Any help with this would be greatly appreciated.

Thanks.

  • 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-24T06:23:04+00:00Added an answer on May 24, 2026 at 6:23 am

    Validate plugin mentioned here http://jquery.bassistance.de has two properties errorContainer and errorPlacement which you can use to place/display error at some other location on page. Here is a demo http://jquery.bassistance.de/validate/demo/custom-methods-demo.html. View Source. If you are using same plugin, which I am sure you are using, it should be helpful. A submit handler is required to actually handle the submission of form. Please note the following code

    $("#myform").validate({
     submitHandler: function(form) {
       // some other code
       // maybe disabling submit button
       // then:
       $(form).submit();//notice how form object is used, not the **id** of form is used here
       //^ if you dont take care, you will end up in too much recursion error
     }
    });
    

    Read this document, http://docs.jquery.com/Plugins/Validation for more.

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

Sidebar

Related Questions

I am using the jQuery Validation plugin and have an issue validating items that
I'm trying to validate a form using jquery validate plugin and I'm having a
I'm using a great jQuery contact form validator from bassistance (http://bassistance.de/jquery-plugins/jquery-plugin-validation/) is exactly what
I am trying to implement client side validation using jquery form validator but I
I have a form with multiple fields that I'm validating (some with methods added
I have a form that uses jQuery to submit an ajax post and it
I have been using the JEditable plugin for JQuery and I would like to
Not sure what I'm doing wrong. I'm using the jQuery Validation plugin. This is
I have form that displays several keywords (standard set of choice lists that changes
I have a form that contains a GridView control which is databound to an

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.