-
Notifications
You must be signed in to change notification settings - Fork 23
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
rules for array based form elements as DateSelect #47
Comments
With date select a user will always select a valid date, so I don't see why there is a need to validate this client side. Could you elaborate? |
Yes, it could be at least 2 cases for which is needed to validate the input:
I am unsure how the rule should work taking into consideration that there are multiple fields involved, you know better :) |
@cbichis I am also not sure how to implement something like this in a generic way, because both StrokerForm and jquery validate library expects a validator to be attached to one given element. |
I have 2 dummy cases DateSelect validator can be useful:
|
Hi,
I think it would be interesting to have a way to use Stroker Form for cases of elements based on an array as DateSelect:
date[year]
date[month]
date[day]
The text was updated successfully, but these errors were encountered: