Conditional Field Ideas

download this code

I was having some issues with conditional fields here and here.

I thought I would make a little tester to show some ideas I had about fixing the javascript end of things.

A current limitiation of this approach is that it checks this.id in the javascript, so the keys are limited to ID, but eventually I think it'd be cool to support #whatever as well as .whatever in the keys, so that you could match anything, and hide/show multiple things with one declaration!

This would allow weird stuff like hiding all odd rows in a table.('tr:odd')

Access log settings
The log.
This controls other things. I still don't have double-parenting worked out in a really smart way, but it does work
The timer.
This is some tester text, that depends on log=no. I had to wrap it in 2 div's, so there is a parent, and an element. (the parent is hidden.) Notice that this is not in the same fieldset. As an additional demonstration, I added my search block and logo to be hidden on different conditions, as well.

Who's online

There are currently 0 users and 0 guests online.