Tag: form
Autocomplete Form Element in Totara/Moodle
Introduction The autocomplete element is an advanced form element that is compatible with the standard “Select” form element. When you have large datasets or options, in that case, to use a select list is more difficult. Because, it’s a LONG
Disabling Form Elements in Moodle/Totara
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
Reactive Form In Angular
In Angular there are two ways to work with forms: Template-driven forms: Template-driven forms are the default way to work with forms in Angular which is used as an internal representation of the form. Reactive forms: Reactive forms allow us