The registration page can be found here:
On the registration page ‘User Type’ is ‘field_960’
After registration, ‘field_1140’ can be found at Profile > Edit > About.
Thank you for your continued effort, I really appreciate it.
This still doesn’t solve the issue.
I have altered the member type keys and the field names to the exact same spellings besides capitalization. I had to remove some slashes and exchanged them for hyphens. I’ve also tried altering the field names to the same spelling with all lower case so that the values are identical when I inspect both drop down boxes. Still no luck.
Is there a way to identify the index number of the selected value on the registration form and use that to force selection of that index in the user field drop down box?
Unfortunately the above code is not working as intended.
I’ve added the code to my bp-custom.php in wp-content/plugins but the sign up field data does not get copied to the user data field after registration, field_1140 remains empty in the user profile.
I have tried switching the fields in the code and this results in the user not being able to sign up as field_960 is a required field and it reverts to empty, field_1140’s value, upon submit.
The registration field that I’m having the user fill in is a selection of custom user types specified by the BP Member Type plugin. The user field I want this data copied to has the same index values, but the field value may be different as the BP Member Type value slugs are spelled differently (no uppercase, or spaces.) May this be an issue?