The plugin supports only names, you'd have to hack the plugin to change that.
If you provide some context on why you think you need that, it would be easier to propose a solution. Jörn On Wed, Jul 29, 2009 at 8:15 AM, zaka29<zak...@gmail.com> wrote: > > Hi, > > Please give advise, how to assign rules for form elements using their > ids attributes instead of "name" e.g > > rules:{ > name: "required", //plugin retrieves form element by name, > but should be "id" > email: "required" > } > > Thanks >