José, >Logical implies a => b a is true if b is true, false in other case. >Then this is a simple example form: >(* is obligatory) >*name: ___________ >*surname: ________ >send by postal mail: [X] <-- checkbox >postal address: _______________ > >So, if I check "send by postal mail", implies that I need the postal >address, but I can write >the postal address for more information without mark the checkbox :)
You can do this type of simply dependency check right now. However, you're correct that right more complex dependencies could be easier. >The "and" and "or" method also is useful for dependences between fields. The biggest issue w/dependencies is circular logic--the library has to take in account logic that ends up looping. In my qForms API, I had a createDependencyTo() method to handle this. It allows you to write really complex dependencies between fields. -Dan