Re: conditional fields

2011-02-10 Thread Joel Goldstick
On Thu, Feb 10, 2011 at 6:03 AM, Szabo, Patrick (LNG-VIE) < patrick.sz...@lexisnexis.at> wrote: > Hi, > > > > Is there a way to show (in the admin tool) certain fields only if other > fields are filled with certain values ?! > > > > Example: > > > > I’ve got a table named Product. > > > > 1 produ

conditional fields

2011-02-10 Thread Szabo, Patrick (LNG-VIE)
Hi, Is there a way to show (in the admin tool) certain fields only if other fields are filled with certain values ?! Example: I've got a table named Product. 1 product can be a book, a magazine oder just a project. If a Product is a Book i want to fill different fields than if it

Re: "Conditional fields" in forms

2009-05-29 Thread Lacrima
orm = MySecondForm(choice) . I have not tested code above, but I effectively have implemented this technique in my apllication. Also I don't recommend you to use FormWizard, especially when dealing with dynamic forms. With regards, Max. On May 27, 10:32 pm, Jochem Berndsen wrote: > Al

Re: "Conditional fields" in forms

2009-05-28 Thread Lakshman Prasad
You will need to use dynamic forms. On Thu, May 28, 2009 at 1:02 AM, Jochem Berndsen wrote: > > All, > > Is there an easy way to include "conditional fields" in forms within the > Django framework. By "conditional fields", I mean fields that are shown > or

Re: "Conditional fields" in forms

2009-05-28 Thread V
On May 27, 9:32 pm, Jochem Berndsen wrote: > All, > > Is there an easy way to include "conditional fields" in forms within the > Django framework. By "conditional fields", I mean fields that are shown > or not shown depending on earlier choices the user ma

"Conditional fields" in forms

2009-05-27 Thread Jochem Berndsen
All, Is there an easy way to include "conditional fields" in forms within the Django framework. By "conditional fields", I mean fields that are shown or not shown depending on earlier choices the user made in the form. What would be the canonical way to implement th

conditional fields in template

2008-12-19 Thread bobuva
variable indicating whether to show those fields or not. When using the forms module, I'm having trouble figuring out how to do this. I'd like to still use the query string variable, set to 1, and initialize the form one way by creating the conditional fields, and not creating them when the qu