Tag: custom
Pass the Data to Custom Validation attribute in MVC C#
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
Custom Javascript in Moodle/Totara, Javascript & AMD Modules
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