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.
If you want to disable any checkbox Read more…
What are WebSockets & how are they different from traditional HTTP/HTTPS protocols?
In conventional HTTP protocols, a client(a web browser) sends an HTTP request to a server and a TCP connection is been made & as soon as the client gets server response, the TCP connection will be Read more…
The Internet is considered to be one of the most effective channels of business communication in the field of Marketing, Supply Chain Management, Sales or Web Technologies. Due to this, web technology is involved in almost every small, medium or large business. But there exists another channel that takes more Read more…
Events are one of the many powerful features of the Laravel. The event basically means the thing that happens or takes place, especially the one that is important. So, in Laravel’s case, events are triggered when some condition is met like most websites have authentication Read more…
In Angular there are two ways to work with 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 allow us to build Read more…
Introduction to Software Development Services
In the era of technology, the business world has revolutionized almost beyond recognition. With the use of updated technology, it becomes easier for a company to be successful. Software Development Services are the kind of services in which a software development company creates Read more…
#1055 – Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column xxxx which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
After upgrading ubuntu 14.04 to 18.04 and MySQL 5.5 to Read more…
In this article, my aim is to present a quick guide on how to create Node.js GraphQL API. With a well-structured API, it is possible to have a solid, maintainable, and scalable API that can serve multiple kinds of front-end applications.
GraphQL is a Read more…
Installation & configuration of gitlab with Let’s Encrypt on Ubuntu 18.04
Step.1 Update to latest repos
:~$ sudo apt-get update
Step.2 Now, Install the prerequisites required for gitlab
:~$ sudo apt-get install -y curl openssh-server ca-certificates
Step.3 Read more…
Provisioning Profile for iOS
A provisioning profile binds developers and devices to an authorized iPhone Development Team and enables a device to be used for testing. Just Like android, you can’t install your application directly on the iOS device. Provisioning profile act as an intermediate between the Read more…
Introduction to Video Compression
Video Compression is a term used to define a method to reduce the data used to encode digital video content. This reduction in data further translates to various benefits such as smaller storage requirements and lower transmission bandwidth requirements, for a clip of the Read more…
XPath in simple terms is a way of finding an element(s) in an HTML DOM by giving its path. It is useful when name or id etc is not available to be directly used to find the element. The path given can be either Absolute or Read more…
How to Pass the Data to Custom Validation attribute in MVC C#?
.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…
These modules are written by using the AMD(Asynchronous Read more…
Laravel: Issues in thumbnail along with images while attaching multiple attachments to the mail
While sending an email to someone using a laravel Mailable class, we may need to attach some attachments to it. Then we can simply use the method attach of that class along with the Read more…
The partial view is a special view used to render a portion of view content. It is a reusable view. It reduces code duplication. We can say that a partial view enables us to render a view within the parent view.
In other words, if the view does not contain Read more…
First of all, we need some dummy XML data for parsing as given below:
The above XML has many tags. The first one being the XML tag which lets us know that it is an XML document. Moving on to the next one we have Read more…
CakePHP uses a two-layered approach to validation:
It determines basic validity. It ensures that the data types, size, and format of data are correct. When we call newEntity() or patchEntity() methods, validations are triggered. For example, checking if an email address Read more…
The mysqli_query statement
Generally, we use mysqli_query to execute Mysql queries in PHP. We can use multiple mysqli_query statements to execute multiple operations like insert, update, and select. Sometimes, we store records in more than one table during save operation at the backend, but it is Read more…