Hello team,
i need to add a new field to the registration form as well as to the user database.
I need to introduce a new field "advisor" which will be filled up by the new user and it will be the user id of an existing user account. If for any reason user id is wrong (not an existing user) the advisor will be the user id of the Super User’s id (ie 42 in my case). The same will be done in case that new user leave empty the field Advisor (will filled up automaticaly by the Super User’s id) because no need to be a mandatory field. This field need also be added to the users database.
Please advise me if that is possible to be done, what files or something else need to be changed.
Thank you and Best Regards