Custom Form validation with Vue.js

Custom Form validation with Vue.js

In this tutorial, you will learn how to create a custom form validation in Vue.js. I will create a simple validation using the help of JQuery library for the event attachment and DOM query. If you do not want to use JQuery, feel free to change it to native Javascript. The reason why I use JQuery library is to save time in the development phase. Let's get started with the concept.
How to enable attribute routing in C# MVC?

How to enable attribute routing in C# MVC?

If you want to enable routing in C# MVC, you have to do the following steps. Note: this only applies to MVC version 5 or above. Open your RouteConfig.cs file under App_Start folder in your MVC root project.

How to publish or deploy Vue.js app?

How to publish or deploy Vue.js app?

Once you have completed the development phase of your Vue.js app, you want to start deploying or publishing your Vue.js app. To deploy it is pretty simple, what you have to do is to deploy using the Node.js command prompt. Note: this only applies if you are using the CLI mode without using the Vue.js script tag directly
How to turn off eslint in your Vue.js app?

How to turn off eslint in your Vue.js app?

To turn off the eslint feature in your Vue.js app is pretty simple. What you need to do is to go to the root folder and look for the config folder in your Vue.js project. There will be a file named index.js and look for the wording useEslint option.
How to check if a column exists in a Sql Server table?

How to check if a column exists in a Sql Server table?

If you have a situation where you want to add a column into a table in SQL Server, it would be a good idea to perform a check first if a column has already existed in a table. Otherwise, if you try to add a duplicate column, you may get an error message when you try to add a column via SQL query.

How to create custom directives in Vue.js?

How to create custom directives in Vue.js?

In this tutorial, you will learn on how to create custom directives in Vue.js. We will create two custom directives that will perform a check for an input that will accept numbers only and another custom directive that will accept whole numbers only. We will implement blur event on the input and if the user has entered wrong input. It will return 0 as default value.
How to create login form template using HTML5 and CSS3?

How to create login form template using HTML5 and CSS3?

In this tutorial, you will learn how to create a login form template using HTML5 and CSS3. The concept of our login box will be placed centrally on a page. It will basically have an email and password fields for users to enter their login information and also links to request password just in case they forgot their login credentials and option to create an account. We will make the login box as responsive to a screen size that is less than 640px and 320px.
How to order the SQL query result by best match keyword search?

How to order the SQL query result by best match keyword search?

If you develop a website or a program that allows your users to perform a search. When the users perform a search query, you probably want to return the best match result first because it is actually more relevant to the search they need. For example, let says we have a database table contains the following list of product.