Here we will discuss how to disable form elements based on conditions in moodle/totara.
We are creating a form in moodle/totara by extending “moodleform” class and overriding the definition() method to including the form elements.
For example:
If you want to disable any checkbox Read more…