widget

1
0
-1

Hi,
I'm using BOS 6.5.1 **community **
and I'm trying for along to create a widget which depends on another widget in the same Form.
For exemple in the same form, when i choose the option 'Yes' of a radio button, another widget will display .
And i tried to create a HTML widget in which i put this code but it didn't work.

<script> document.getElementById('Sortie').setAttribute("onchange", FUNCTION () { IF(this.VALUE != "Non") document.getElementById('Examen').STYLE.display = 'none'; ELSE document.getElementById('Examen').STYLE.display = ''; }); </script>

Please does anyone have another simple solution ? (I'm really a newbie so please describe the solution with details, thanks)

Thank you.

No answers yet.
Notifications