{
element.parent().parent().next().next().next().replaceWith
(error)
}
//debug: true
});
On Jan 5, 9:25 am, dfiguero wrote:
> Thanks for your help Jörn. I finally figured out what my problem was.
> The page doesn't load all the input elements in t
ue, rules: rules});
>
> Jörn
>
> On Fri, Dec 19, 2008 at 4:00 PM, dfiguero wrote:
>
> > So far I got:
>
> > $(function(){
> > $.validator.addMethod("compare", function(value, element, param){
> > Date.format = 'mmm. dd,
#" + end_date]
}
Anyone done anything similar?
Diego.
On Dec 19, 10:00 am, dfiguero wrote:
> So far I got:
>
> $(function(){
> $.validator.addMethod("compare", function(value, element, param){
> Date.format = 'mmm. dd, ';
>
les});
});
But I guess my logic is not that great since the compare method
doesn't seem to be called. Perhaps the method definition does not
match the way I'm calling it but I'm not able to see that on firebug.
Any suggestions?
Diego.
On Dec 18, 4:10 pm, dfiguero wrote:
>
date({options:rules});
>
> Jörn
>
> On Thu, Dec 18, 2008 at 3:01 PM,dfiguero wrote:
>
> > Hi,
>
> > I'm trying to validate a form with a dynamic date fields. Something
> > like:
>
> >
> >
> > > value="Mar. 29, 2008"
Hi,
I'm trying to validate a form with a dynamic date fields. Something
like:
...
I got my validation rules working but only if I hardcode each of the
input's names:
$("form").validate({
rules: {
"date-1-start": compare ["#date
6 matches
Mail list logo