[Zope] Disabling buttons

Hannu Krosing hannu@tm.ee
Mon, 18 Oct 1999 11:14:05 +0000


Paul Prescod wrote:
> 
> I'm taking over an app that uses a bunch of client side Java. The only
> reason I can see it uses Java is because it allows you to build logic
> like "if this radio button is selected, this checkbox is disabled." If
> there was a way to do this in a combination of DTML and Javascript then
> the app could use just those technologies. Has anyone got a demo of
> something like that? I can think of fairly convoluted ways to do it --
> is there a straightforward way?

AFAIK the needed attributes are currently supported on IE (and possibly 
Opera) only :(

So to get a more universal solution you currently need java.

Of course You can get something done by using a lot of OnChange and 
OnFocus methods to undo things but it's not pretty.

-----------
Hannu