Re: two choices questions

2008-04-29 Thread dimrub
I finally solved #2 with plain vanilla 0.96. Basically, it involves overriding the fields property of the AdminOptions for the application in question (similar to what's described here: http://lukeplant.me.uk/blog.php?id=1107301634) by a function, that looks up the necessary info, and replaces

Re: two choices questions

2008-04-25 Thread dimrub
OK, I solved #1. Indeed, the solution is trivial, but I had to trouble this group in order to get to it - as always :(. Here's the solution, in case anyone may find it helpful. It's a JS defined using the model's js attribute. I'm not much of a JS coder, so please don't hold the quality of this

Re: two choices questions

2008-04-25 Thread dimrub
On Apr 25, 11:57 pm, dimrub <[EMAIL PROTECTED]> wrote: > Greetings, all! > Oh, forgot to mention: I'm trying to use admin views. I do realize question #2 has a trivial solution if a non-admin view is used (and, come to think of it, #1 does as well).

two choices questions

2008-04-25 Thread dimrub
Greetings, all! Two (possibly - trivial) questions regarding a field that has 'choices' defined for it. 1. Is there a way to specify a special choice, upon which another field becomes active? A typical use case is to have a certain set of predefined values (out of which the user will USUALLY