Skip to:
Content
Pages
Categories
Search
Top
Bottom

Strange issues on sign up form


  • Seo45
    Participant

    @seo45

    I’m using Buddypress and just don’t know where else to ask. Basically, I’m ussing the code below to take the username data and copy it to the buddypress name field, but it doesn’t seem to be working. It’s not copying it, and I believe because of this, it’s asking me when I go to submit, if I’m sure that the data will be lost. It does actually sign up, but it won’t copy the username to the display name field. If anyone has any ideas, please help.

    <script type=”text/javascript”>
    var url = document.location.href;
    jQuery(document).ready(function() {
    //copy profile name to account name during registration
    if (url.indexOf(“register/”) >= 0) {

    jQuery(‘label[for=signup_username],#signup_username’).css(‘display’,’none’);
    jQuery(‘#field_1’).blur(function(){
    jQuery(“#signup_username”).val(jQuery(“#field_1”).val());
    });
    }
    });
    </script>

  • You must be logged in to reply to this topic.
Skip to toolbar