MyBB Community Forums

Full Version: How to add validation rules in member registration
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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