[CPS-devel] use javascript to hide widgets

Miguel Sánchez Beato miguel.sanchez at iavantefundacion.com
Tue Mar 13 17:44:32 CET 2007


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!



This list archive provided by Nuxeo, the leaders of open source ECM. Check out the Nuxeo 5 open source, standards-based ECM project.