Add field in add user form - wordpress

I want to know how I can add a field to the user registration form in Wordpress. I have allready been able to add fields in the edit_user_profile and add_user_profile. But I want to use a custom field in the first step when I register a new user.
Can someone help me?
With kind regards,
Douwe

Best plugin for you: Cimy User Extra Fields. This plugin will add some useful fields to registration and user's info.
If you needs to add custom fields without using a plugin: Check this Tutorial. This will teach you step by step How to Add Custom Field to Register Form.
Cheers !!!

Related

How to add custom field in create user form in alfresco

Can any one help me with adding custom field in create user page in alfresco,
I tried adding custom field in profile by referring
http://ecmarchitect.com/archives/2012/02/27/1555
but how to do it for create user page in admin console?
i had gone through the users.js and edited with the new field created by referring the above link. but still im not able to save the field for newly created users and while updating user from admin console.
Anyone, Kindly help me in this regard.
Thanks.
There are many changes required in different file.
Take the help of this link Custom Field in User Profile. May be you will get some idea.

How to add properties to Woocommerce account?

I would like to add some properties to my accounts in woocommerce (ie: eyes color)
In the codex, I've found solutions to add fields into checkout but I do not need these informations in checkout, I want them editable into the account page.
Is there a programmatically solution (or a plugin) ?
You need to create custom user field using update_user_meta function . Please read
https://codex.wordpress.org/Function_Reference/update_user_meta
or read this
https://support.woothemes.com/hc/en-us/articles/203182373-How-to-add-custom-fields-in-user-registration-on-the-My-Account-page

Custom user profile in Wordpress

Is there a way to modify the Add user page in the administrator so I can add several custom fields when creating new users?
Not sure but This article seems to do just what you need:
http://justintadlock.com/archives/2009/09/10/adding-and-using-custom-user-profile-fields

custom page in Drupal

hi i have created a website in drupal.In this registration page can be access by following url
http://mysite.com?q=user/register
But i want to make a custom page for registration.
Please give me some guide line , i don't have any idea for this
You want to modify the user registration form,
http://www.google.ca/search?client=safari&rls=en&q=user+registration+template+drupal&ie=UTF-8&oe=UTF-8&redir_esc=&ei=Jn0dTdTzI466sQP4uZ2PCg
a) hook_form_user_register_alter() documentation at http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_form_alter/6 b) if you totally cant do what you want with a happy little form altering then you can always hook_menu_alter() the page and use whatever page callback you desire instead of drupal_get_form.
Goto admin/build/modules
Enable Profile module
Add fields in profile and while adding a field make it 'visible during registration'

How to use hook alter form in module to register a user and also save some data in another table?

have a general idea on how to use hook alter to modify the feel of the registration form .
However the challenge I have is to not only have the user register, but to save some extra data into another table and then redirect user to a new page.
How would I get about doing that? Please help
Again, it'd be easier to plan what you're trying to do and take advantage of common solutions. I suspect what you're after is the Content Profile module.
add a custom function to your form, according to http://api.drupal.org/api/drupal/developer--topics--forms_api_reference.html/6#submit-prop for more info
please notice the login page and the login block are different forms, with different form ids for your hook_form_alter.
Just implement hook_user(); when the first parameter is 'register', the registration form is being presented to a user, and the module can change it by adding new form fields (the module needs to return them to Drupal).

Resources