2022-03-19, 05:57 PM
Hello!
I am developing a plugin that adds new fields in the registration page,
Now I need to do some form validations (Like the default one that's done on username, password...).
I already achieved that through the hard-code method (editing regvalidator.js in jscipts folder),
But I want it to be done automatically when the plugin has been activated.
Is there a way to access and edit the validation rules through javascript?
Thank you in advance
I am developing a plugin that adds new fields in the registration page,
Now I need to do some form validations (Like the default one that's done on username, password...).
I already achieved that through the hard-code method (editing regvalidator.js in jscipts folder),
But I want it to be done automatically when the plugin has been activated.
Is there a way to access and edit the validation rules through javascript?
Thank you in advance