Thanks guys, I'm starting to get a handle on it now. This is an incredible piece of work, Jörn!
- jason On Jan 31, 7:28 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote: > Priest, James (NIH/NIEHS) [C] schrieb: > > > [...] > >> (2) How do you indicate dependencies within the markup, as opposed to > >> within the plugin call? In other words, if I have a group of radio > >> buttons, and a text input that is only required if a certain radio > >> button is checked, can I add something to the markup of the text input > >> to indicate that? > > > I haven't done that but I think you could use the visible example like > > I've shown above to do something similar: > > > elementwhichischecked: {required: "#parentelement:checked"} > > > Or something along those lines... > > I recommend using custom methods to encapsulate the logic for such > dependency checks, that way you'll just have to use that method in the > markup and no code at all. > > Jörn