Onchange Event kind of thing in moodle ?

Re: Onchange Event kind of thing in moodle ?

by Tim Hunt -
Number of replies: 1
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

Generally Moodle does not work like that. Rather than showing and hiding other elements, we have them always present, but disabled if they are not relevant. See 'disabledIf' in the docs https://docs.moodle.org/dev/lib/formslib.php_Form_Definition