Edit Text for OTP Using different boxes in Android. The below solution takes into consideration: Auto focusing to the next edit text on entering one digit of OTP in the focussed edit text. Auto focusing to the previous edit text…
Dynamic web form validation with predefined rules and messages
Sometimes when we are using same validation rules for a form in different location with different ID’s. To prevent repeating the code and make it more maintainable we define it as a function in one place. That is what this…
Custom Facades in Laravel
Facades are static interface of a class to encapsulate its default arguments. First we need to define a class in app directory like app/CustomClass/NewClass.php Now we need to define a facade for this class Firstly we need to edit AppServiceProvider.php…
How To print \n in C?
As We know \n is used for new line Similarly \t for vertical tab so to print \n just add \ before \n like \\n similarly for \t it will be \\t
Json parsing to add an iterating element by Jquery
To reduce load time and improve user experience we use ajax to get add new element to existing html. let the response be: let the response is saved in var response let the place where response is appended is to…
Creating a DB in MongoDB
It is as simple as calling an URL If you have already installed MongoDB. If Not go-ahead download from here
Node Event Module
Node has a concept of event-driven programming, in which code is written to react rather than be called. Node has an inbuilt event module about which you learn in-depth from here, we will use event listener and event emitter method…
Js Filter And Sort
Filter – High order function used to filter any array with the help of the callback function it uses same argument as map only difference is the return type is either true or false. It return type is true value…
Upload File/Image to the server using Volley in Android.
Upload file/image to the server using volley in Android is a very frequently used thing. In most of the apps, we need user avatar, i.e. user profile image. In this article, we are going to see an example to Android…
What are Laravel View Composer?
Sometimes we need to pass similar type of data to different view files or partials and later changing them is a pain point as you have to change every single one of them, hence to fix this issue view composers…