use javascript to hide widgets

Miguel Sánchez Beato <miguel.sanchez-PttKq6FmaWE8QMA/Cy+x5VaTQe2KTcn/@public.gmane.org>
Newsgroups gmane.comp.web.zope.cps.devel
Message-ID <1173804272.26511.6.camel@localhost>
Hello, Using a form in CPS 3.4.2, I'm trying to hide some widgets (of
that form) using javascript depending on the values "clicked" on others
form widget. That is:

1. I've got a MultiSelect widget called 'profile' (student, teacher,
admin, guest), and other widget called 'speciality'.
2. I want to hide the 'speciality' widget when the profile value is
'guest'

I've trying around the 'JavaScript (TALES)' property of the multiselect
widget, but I haven't found anything right.

Anyboy knows how to do it?

Thank you!
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.