Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Validating fields added to User
openback
New
I see how to add fields to the User table, but I can't find how to attach validation to it as well. I was originally modifying the FirstLastNames plugin, but then found the ProfileExtender plugin in the 2.1 beta, and decided to go with that. For both, I can't seem to find where the callback would be to apply a simple regex to an added field. (And on a related note, this should be in the Developers category, no? How does one get into there?)
Tagged:
0
Comments
first off try searching for validation - searching has improved a bit on this forum.
these might help.
http://vanillaforums.org/discussion/21149/how-to-do-i-use-addrule-or-validaterule-to-create-a-custom-rule-for-validation-purposes
http://vanillaforums.org/discussion/comment/167373/#Comment_167373
I may not provide the completed solution you might desire, but I do try to provide honest suggestions to help you solve your issue.
I see there's documentation on how to accomplish validations, but what I don't see is which callback to use to apply one to a user being created.