Hi, I'm very new to this and am struggling !!
I'm using S2member Pro with Buddypress. I have created a custom field on the registration form. When this field is filled in, I want the value to be saved in the buddypress member_type field. I have a plugin that then matches the member type to a WP role that I have set up.
The reason I am doing this is so if somebody registers as a Lender, then only the Lender profile group tabs are shown. If somebody registers as a Borrower, then only the Borrower profile group tabs are shown etc etc.
I'm sure this is probably a simple piece of code, but I don't know where to start.
Thanks for your help !