Jacky schrieb:
I see... the group's key is not related to the rules/method.
So the group would force the underlying fields to only display one
message?
This would be a problem because a field would also have its own
message (like date format is incorrect). I tried my old demo,
inputting all
I see... the group's key is not related to the rules/method.
So the group would force the underlying fields to only display one message?
This would be a problem because a field would also have its own message
(like date format is incorrect). I tried my old demo, inputting all four
fields with wron
Jacky schrieb:
I'm thinking if I can do this:
rules:{
planFromDate: {dateRange:'plan'}, planToDate: {dateRange:'plan'}
actualFromDate: {dateRange:'actual'}, actualToDate:
{dateRange:'actual'}
}
groups: {
dateRange: "planFromDate planToDate actualFromDate actualToDate"
}
$.validat
I'm thinking if I can do this:
rules:{
planFromDate: {dateRange:'plan'}, planToDate: {dateRange:'plan'}
actualFromDate: {dateRange:'actual'}, actualToDate: {dateRange:'actual'}
}
groups: {
dateRange: "planFromDate planToDate actualFromDate actualToDate"
}
$.validator.addMethod('dateRa
Jacky See schrieb:
I have put up a page to test.
http://www.seezone.net/dev/dateValiation.html
I need to use different method for different group of dates.
In that case, a global dateRange method seems not possible?
Thats a different issue. A better dateRange implementation could reuse
the
On Sat, Apr 12, 2008 at 2:34 PM, Jacky See <[EMAIL PROTECTED]> wrote:
> I have put up a page to test.
> http://www.seezone.net/dev/dateValiation.html
Link should be: http://www.seezone.net/dev/dateValidation.html
--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
I have put up a page to test.
http://www.seezone.net/dev/dateValiation.html
I need to use different method for different group of dates.
In that case, a global dateRange method seems not possible?
On 4月11日, 上午6時03分, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Jacky See schrieb:> Hi,
>
> > Some q
Jacky See schrieb:
Hi,
Some question on the config of validation plugins.
Suppose there are #fromDate and #toDate fields (using ui.datepicker).
I have added these custom rules
[...]
It will output two messages of 'Please input correct date range'.
How can I make it only ouput single one?
I'
8 matches
Mail list logo