By B00N on
Hi all again,
Next Post, next Question. i hope it's ok, to split my questions. I think it's better for research reasons.
I have put a custom extra inputfield (profile module) to the create account process. Filling this field (a numbercode) is optional, but if somebody fill in a "codenumber" and submit the 'registration form', a check against a database table should happen.
If the "codenumber" is not found, the 'create account form' should throw an error-message. No "codenumber" input is ok.
How can I solve this problem, do you have some hints for my?
Please apologize my english, i'm not a native speaker.
Thanks, FranZer
Comments
Is there nobody who can help
Is there nobody who can help me?
Need this as well
I need this as well, so let's hope for an answer......
See You
I found a way that works for me.
It's a quick'n'dirty way!
In the user.module:
function _user_edit_validate($uid, &$edit) {}After the // Validate the username and // Validate the e-mail address validation.
I hope this works for you too.
FranZer