Skip to:
Content
Pages
Categories
Search
Top
Bottom

Registration form – adding extra fields


  • counterfoxx
    Participant

    @counterfoxx

    Hi,

    I have installed BBPress, in my current registration page I have the code [bbp-register] which works and lets a user register. However the only fields here are to choose a username and enter email, where an password is automatically sent. What I need is to have an password field which the user enters, rather than having a generated one. I would also like other custom fields such as gender and age.

    The form is located in form-user-register.php

    Its fine to add the extra input boxes here and display, but I don’t know how these would get stored and saved.

    Any help on how to make the custom fields save and which files to look at would be extremely helpful.

    Thanks in advance!

Viewing 2 replies - 1 through 2 (of 2 total)

  • John James Jacoby
    Keymaster

    @johnjamesjacoby

    You’ll want to use WordPress’s actions to manipulate the output of the form. There are also actions on the submission side you can hook into to verify the form data.


    on3advertising
    Participant

    @on3advertising

    Thanks for the response, but can any one with pre-existing knowledge expound a bit more on how to do that? Once I see just a small example I can go from there.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Skip to toolbar