How to customize register form

red010182red010182 New
edited October 2011 in Vanilla 2.0 - 2.8
Hello there:

I've read the thread "Custom Registration Form" at http://vanillaforums.org/discussion/comment/142065#Comment_142065

However, I still can't find the answer when need to add a "contact phone number" field when user registering.

Whatever by modifying the existing registration form or create a new one, can someone show me how?

I'll be very appreciated for anyone who can help.

Thanks.

Best Answers

  • ToddTodd Vanilla Staff
    Answer ✓
    I do believe that you can:

    1. Add the field to the GDN_User table.
    2. Add the input to the appropriate /applications/dashboard/views/entry/register*.php file.

    If you have a custom theme I recommend copying the view to your theme.
  • x00x00 MVP
    Answer ✓
    User Meta is another way to store.

    grep is your friend.

Answers

  • anyone please help?
  • ToddTodd Vanilla Staff
    Answer ✓
    I do believe that you can:

    1. Add the field to the GDN_User table.
    2. Add the input to the appropriate /applications/dashboard/views/entry/register*.php file.

    If you have a custom theme I recommend copying the view to your theme.
  • x00x00 MVP
    Answer ✓
    User Meta is another way to store.

    grep is your friend.

  • @Todd : that works! I'm now able to store my new custom field, thanks so much.
Sign In or Register to comment.