Skip to:
Content
Pages
Categories
Search
Top
Bottom

validating extended profile field


  • gwu123
    Participant

    @gwu123

    Hi,

    I want to add an extra email address field to the registration process. I want this address to have a specific format “abc@xyz.in” (should end with ‘.in’) and it should be unique just like the username or email address field.

    I have been looking at bp-core-signup.php. I am guessing that this functionality would go into the loop where the extended field are checked. Am i right ? and how do i test the email address format and its uniqueness ?

    buddypress version : 1.2 RC2

    Thanks

Viewing 1 replies (of 1 total)

  • peterverkooijen
    Participant

    @peterverkooijen

    I need to figure this out as well. The xprofile fields are generated (?) with a loop from an array. It looks almost impossible to do anything with a specific xprofile field if you are not an advanced PHP whiz.

    Or could you just hard code the registration fields on register.php, instead of using the ‘profile field loop’? And then use field_2 and field_3 to “do stuff” with? Are there any serious downsides to that to watch out for?

Viewing 1 replies (of 1 total)
  • The topic ‘validating extended profile field’ is closed to new replies.
Skip to toolbar