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 9024711
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T06:05:34+00:00 2026-06-16T06:05:34+00:00

I have implement the jQuery Validation plugin on my website. When I click on

  • 0

I have implement the jQuery Validation plugin on my website. When I click on Submit Button without filling required text box, then required field message displays many times.

Like I am clicking on Submit button three times, then message displays three times. It should only display only one time.

Code

$(document).ready(function()
{
$("#frm").validate(
  {
    rules : {
      cat_name : {
        required: true
      },
      cat_description : {
        required : true
      }
    },
    messages : {
      cat_name : {
        required:"<br />Please enter category name"
      },
      cat_description : {
        required:"<br /> Please enter category description"
      }
    }
  });

});

HTML

<table width="99%" cellspacing="6" cellpadding="3" border="0" align="right">
    <form method="post" action="save_livefeed_categories.php" class="cmxform" id="frm" name="frm">
        <tbody>
            <tr>
                <td><div align="center" class="venueError" id="venueError"></div></td>
            </tr>
                <input type="hidden" value="0" id="update" name="update">
                <input type="hidden" value="" id="cat_id" name="cat_id">
            <tr>
                <td height="10" colspan="2"></td>
            </tr>
            <tr>
                <td width="22%" height="25" bgcolor="#FFFFFF"><strong>Category Name :</strong></td>
                <td width="50%" bgcolor="#FFFFFF"><input type="text" value="" id="cat_name" name="cat_name"></td>         
            </tr>
            <tr>
                <td width="22%" height="25" bgcolor="#FFFFFF"><strong>Category Description :</strong></td>
                <td width="50%" bgcolor="#FFFFFF"><textarea cols="35" rows="8" id="cat_description" name="cat_description"></textarea></td>
            </tr>
            <tr>
                <td bgcolor="#FFFFFF" align="right"></td>
                <td bgcolor="#FFFFFF" align="left">
                    <input type="image" name="Save" id="Save" src="images/bt_save.gif">
                    &nbsp;&nbsp;
                    <input type="image" style="cursor:pointer" onclick="javascript:window.location.replace('livefeed_categories.php'); return false;" src="images/bt_cancel.gif">
                </td>
            </tr>

        </tbody>
    </table>
</form>

Output
jQuery Error

  • 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-06-16T06:05:35+00:00Added an answer on June 16, 2026 at 6:05 am

    this is happened because i have added <form> tag inside the <table> tag. now its working fine.

    Thanks for your time.

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

Sidebar

Related Questions

I have some jquery code the creates an quantity text box. Like so <input
I'm trying really hard to implement jQuery UI's combo box example. I have set
I want to implement the jQuery validation plugin for use in a web application
Ok so i have a text field that uses this jQuery watermark plugin which
I have a simple facebook validation i would like to implement to my jQuery
I have to implement jquery's sortable in my project. I am creating it dynamically.
I have implement the exact same concept for my project- http://blog.perplexedlabs.com/2009/05/04/php-jquery-ajax-javascript-long-polling/ My question is,
Here I am trying to implement the jQuery I have two main files one
I have a site where I am trying to implement a jQuery UI based
I have implemented jquery on the site (click on the plus sign) http://pligg.marsgibson.info Issue

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.