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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T19:37:46+00:00 2026-05-25T19:37:46+00:00

I’ve looked over the documentation for the validation plugin and I can’t figure out

  • 0

I’ve looked over the documentation for the validation plugin and I can’t figure out for the life of me what is wrong with my form/javascript. I load the plugin after I load Jquery, and to my knowledge I didn’t leave anything out. But the page biases the Javascript and goes straight to the action page. I am using Jquery 1.6.2 Any ideas why?

Javascript:

 $("#regForm").validate({
     rules: {
         pass: "required",
         passChk: {
             equalTo: "#pass"
         }
     },
     submitHandler: function(form) {
         form.submit();
     }
});

HTML/CFML:

   <cfform type="actionForm" action="Action.cfm" id="regForm" method="post" data-ajax="false">    
       <label for="email">E-mail</label>
       <cfinput type="text" label="E-mail" name="email" id="email" class="required email"><br>          
       <label for="pass">password</label>
       <cfinput type="password" name="pass" id="pass" class="required" ><br>
       <label for="passChk">enter password again</label>
       <cfinput type="password" name="passChk" id="passChk" class="required" > <br>                
       <label for="fName">First Name</label>
       <cfinput type="text" name="fName" id="fName" class="required"><br>
       <label for="lName">Last Name</label>
       <cfinput type="text" name="lName" id="lName" class="required"><br>         
       <cfinput type="submit" name="submit" value="register" data-inline="true">
   </cfform>
  • 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-25T19:37:46+00:00Added an answer on May 25, 2026 at 7:37 pm

    This is working fine for me. I wonder though. I did have a problem when I tried to use the jquery validate JS file from the CDN on the demo pages.

    http://dev.jquery.com/view/trunk/plugins/validate/jquery.validate.js
    

    When I tried to use this one I would sometimes get a 403. So sometimes the validation would work and sometimes not.

    When I switched to the proper CDN

    http://ajax.aspnetcdn.com/ajax/jquery.validate/1.8.1/jquery.validate.js
    

    It worked fine every time. I wonder if you are doing the same thing.

    Also, make sure you are not running this script until the DOM is ready.

    <script>
        $(function(){
            $("#regForm").validate({
                        rules: {
                                pass: "required",
                                passChk: {
                                     equalTo: "#pass"
                                }
                        },
                        submitHandler: function(form) {
                                $(form).submit();
                        }
                });
        });
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there an equivalent in Delphi? I've looked over the documentation and can't find
I have looked all over the web and I can not find the information
I've looked at this over and over again and I can't see the problem.
So I've looked over the documentation for the Add-on SDK several times now and
I've looked all over for some documentation on this, but haven't found it. Some
I have looked over the Repository pattern and I recognized some ideas that I
this is just weird and is giving me a headache. I looked over my
I've looked all over the Haxe Flash Command-line compiler website but was unable to
Okay, I've looked all over the internet for a good solution to get PHP
I am re-hashing this question because I have looked at over 50 threads in

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.