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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T05:55:08+00:00 2026-06-13T05:55:08+00:00

I am building a backend database UI for a business website and have some

  • 0

I am building a backend database UI for a business website and have some forms that include a couple of date fields. I am using the jQueryUI datepicker on them (dateFormat: ‘dd/mm/yyyy’) but it is also possible to type in the date into the input field so I also want to validate the input (I am aware there is another plugin for validating datepicker fields but I’d like to avoid introducing more plugins is possible).

I have been researching working around the issue with Chrome’s locale settings and think I have that solved but I also have a different problem that I have not seen mentioned in any other post.

My client is most likely going to access this with Chrome which does not validate the date in this format, so I am using dateITA from the additional-methods.js file that comes with the validate plugin.

function validate_newjob() {
$('#newjob').validate({
        rules: {
            DueDate: {
                required: true,
                dateITA: true 
            }
        },
        messages: {
            DueDate: {
                required: "* Required",
                dateITA: "Date format dd/mm/yyyy"
            }
        },
        errorClass: "formerror",
        errorElement: "span",
        errorPlacement: function(error, element) {
            $(element).next().after(error);
        }
    });
}

This works fine. The date validates using my message “Date format dd/mm/yyyy” when it errors.

Example: I start typing 8/8/2012 and as I type the error message is displayed “Date format dd/mm/yyyy” then when I finish typing the date the field validates with success.

But something strange is also happening. If I begin typing a date like 18/12/2012 the built in date: true validation method kicks in and issues the default error “Please enter a valid date.” (because the value for day 18 doesn’t pass the validation script)

When using the dateITA additional method, how do I stop the default date method from validating the field and giving me a false negative?

  • 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-13T05:55:09+00:00Added an answer on June 13, 2026 at 5:55 am

    Answered my own question…

    I had a class=”date” assigned to the field (just for my css) that appears to automatically trigger the date method.

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

Sidebar

Related Questions

I am building some software using Clojure as a backend, and I'd like to
I'm building a web application that uses Oracle Database 10g as the database backend.
I'm using Django 1.3 with the MySQL 5.5 database backend. My assumption was that
I'm building an app in Backbone using Node as the backend. As part of
I'm building a simple web application in tornado.web using mongodb as the backend. 90%
Greetings, I'm building my personal website using php. My standard approach is to use
I am building the backend for an application that will work with the TFS
I'm building a site, and have just started getting into developing the backend. The
I am building a calendaring system using FullCalendar as the front end. The backend
I have a Rails application that right now is pretty standard: Heroku/PostgreSQL backend, users

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.