form Archives

Disabling Form Elements in Moodle/Totara

Author - Pawandeep Kaur
|
0 Comments
|

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…

Reactive Form In Angular

Author - Monika Dhiman
|
0 Comments
|

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 to build Read more…