custom

Pass the Data to Custom Validation attribute in MVC C#

Author - Harleen Kaur
|
0 Comments
|

How to Pass the Data to Custom Validation attribute in MVC C#?

Introduction

.Net provides the capability of validating model data with validation attributes like Required, Compare, Regular Expression, and user-defined custom attributes (also known as data annotations C#). MVC .net provides the built-in Read more…

Custom Javascript in Moodle/Totara, Javascript & AMD Modules

Author - Pawandeep Kaur
|
0 Comments
|

How can we add custom Javascript in Moodle/Totara, Javascript & AMD modules?

A Javascript module is a collection of Javascript code. It enhances the reusability of this code. As a result, it is called/used from alternative javascript files.

These modules are written by using the AMD(Asynchronous Read more…