Hi, I've built a registration form, mostly working as expected, however when the user is created the role that should be set is not. Even the default role is not entered, let alone the 'appended role'.
Using Bricks Builder, Meta Box AIO, latest versions.
After further investigation and trying Bricksforge's Pro Forms to register a new user, the User is registered and the default Role is set correctly. Therefor it is clear that the issue is with Meta Box Profile Form.
Hi Peter, I'm not using a short code, I'm using the MB 'Registration Form' element within Bricks. However, I figured it out, Bricksforge makes the Roles available within the form element, so it was easier to select.
However, the issue was with SureMembers and NOT Metabox, they have the WP Role value set as 'suremembers_recruiter'.
So, with it displayed everywhere as just 'Recruiter' or 'Candidate', I wrongly assumed it was that but all lowercase. I have now changed it accordingly in the MB Profile Form element on the Registration Form page in Bricks.
Now it is working.
Thanks for the suggestion though, I appreciate you replying.