Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Form validation: Date validation format #6758

Open
sarasuri opened this issue May 11, 2015 · 9 comments
Open

Form validation: Date validation format #6758

sarasuri opened this issue May 11, 2015 · 9 comments
Labels
Feature: Form Validation State: Going Stale Historically used to identify a issue that didn't got immediate and active public interest.

Comments

@sarasuri
Copy link

The validation for the "Date" format does allow the following date format to pass through validation on the Form validation example page.http://wet-boew.github.io/wet-boew/demos/formvalid/formvalid-en.html

Date format: (yyyy/mm/dd)
e.g. 2014/12/31

@CalvinRodo
Copy link
Member

I just ran a test on the page linked and it worked fine for me

@pjackson28
Copy link
Member

It is using data-rule-dateISO="true" so it should only allow ISO dates. I wonder if it is an issue with how jQuery validation handles that rule on a field of type="date". jQuery validation's example doesn't specify the type: http://jqueryvalidation.org/dateISO-method/

@hsrudnicki
Copy link

Can this issue be closed or otherwise?

@sarasuri
Copy link
Author

If this is an issue with how jQuery handles the validation can someone look into it.

@nschonni
Copy link
Member

@sarasuri I can't reproduce this on the working examples either. Can you provide a browser combination that is reproducible?

@sarasuri
Copy link
Author

I was able to reproduce the issue in IE11 and Firefox 38.

@hsrudnicki hsrudnicki added the State: Going Stale Historically used to identify a issue that didn't got immediate and active public interest. label Dec 9, 2015
@hsrudnicki
Copy link

Due to no further discussion/status update(s), made "Going Stale" in order to close this issue or otherwise? Either way, please keep this issue's status updated, thank you

@RobJohnston
Copy link
Contributor

Don't quite follow... was the issue here that slashes should not be allowed? Take a look at #6878. I submitted a patch to jquery validation in July for the dateISO method.

@hsrudnicki
Copy link

hsrudnicki commented Aug 17, 2016

Is this still an issue? Please update again the status of this, as well in regards to the referenced issue, for the current year, thank you

@duboisp duboisp changed the title Form validation: Form validation: Date validation format Jan 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature: Form Validation State: Going Stale Historically used to identify a issue that didn't got immediate and active public interest.
Projects
None yet
Development

No branches or pull requests

6 participants