Ah,
I got it working... The value of the "required" attribute should be a
dependency-expression (
http://docs.jquery.com/Plugins/Validation/Methods/required#dependency-expression )
So, required="true" does not work. I'm still trying to figure out
what else can be in there / what exactly a dependency-expression is,
but it seems that the following works (although I'd like to understand
still...):
required=":true"
required="{:true}"
required="{anynamehere:true}"
required="{:anystringhere}"
-i
On Nov 9, 2:14 pm, Iwan Vosloo <
i...@...> wrote:
> Hi Jörn,
>
> On Nov 7, 3:28 pm, Jörn Zaefferer <
joern.zaeffe...@...>
> wrote:
>
> > The plugin by default picks up attributes, so if you're using attribute
> > names that match validation plugin methods, it should work like that. Though
> > you may need to also provide a value, ala required="true", not sure about
> > that.
>
> This works for validation methods, but not for the required...
>
> Regards
> - Iwan