I was working on a project on magento 2 where I need to validate registration form. I want to use the event keyup for inputs and also wanna change the default message.after searching internet i found this below solution,for this you have to add a new js file using requirejs-config.js. But i created a new module. Module files are as below.